aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2010-07-21 18:06:25 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2010-07-21 18:06:25 +0000
commitd82e1082723d747cd1d82a71c0997587f432d51e (patch)
treebd17039df9c1a5b61566817230eb9f85f2f5c6be /build.xml
parent399cbb3e0338fbbeb0f544ca343fa4d306814bef (diff)
downloadxmlgraphics-fop-d82e1082723d747cd1d82a71c0997587f432d51e.tar.gz
xmlgraphics-fop-d82e1082723d747cd1d82a71c0997587f432d51e.zip
Fix to "docs" target. FORREST_HOME no longer needs to be in your PATH for the target to work as you would expect it to.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@966339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 2 insertions, 6 deletions
diff --git a/build.xml b/build.xml
index b833f573f..65fe4b69d 100644
--- a/build.xml
+++ b/build.xml
@@ -1208,16 +1208,12 @@ NOTE:
<!-- =================================================================== -->
<target name="docs" description="Generates documentation">
<echo message="Building documentation with Forrest..."/>
-<!--
- <echo message="Make sure that you have installed Apache Forrest and"/>
- <echo message="the FORREST_HOME environment variable is set (see http://forrest.apache.org/)"/>
- <echo message="FORREST_HOME = ${forrest.home}"/>
- -->
+ <echo message="FORREST_HOME = ${env.FORREST_HOME}"/>
<echo message="Make sure you have a proper Forrest installation (see http://forrest.apache.org/)"/>
<condition property="forrest.call" value="forrest.bat" else="forrest">
<os family="windows"/>
</condition>
- <exec executable="${forrest.call}"/>
+ <exec executable="${env.FORREST_HOME}/bin/${forrest.call}"/>
</target>
<!-- =================================================================== -->
<!-- Creates the distribution -->