aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorChristian Geisert <chrisg@apache.org>2005-09-27 13:16:59 +0000
committerChristian Geisert <chrisg@apache.org>2005-09-27 13:16:59 +0000
commite36a41a6f409983d08916dbd86db7b7b2083ff1b (patch)
tree01566fa36f8dc2d64aece24b03de73ef32f450c4 /build.xml
parent82b0754a00bb3cde82dbb71fd43a0b201bad0bce (diff)
downloadxmlgraphics-fop-e36a41a6f409983d08916dbd86db7b7b2083ff1b.tar.gz
xmlgraphics-fop-e36a41a6f409983d08916dbd86db7b7b2083ff1b.zip
Build should work without Forrest installed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291934 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index c7caf4650..c131f5b6c 100644
--- a/build.xml
+++ b/build.xml
@@ -188,7 +188,7 @@ list of possible build targets.
<!-- Importing Apache Forrest for building the docs -->
<property environment="env"/>
<property name="forrest.home" value="${env.FORREST_HOME}"/>
- <import file="${env.FORREST_HOME}/main/forrest.build.xml"/>
+ <import file="${env.FORREST_HOME}/main/forrest.build.xml" optional="true"/>
<!-- =================================================================== -->
<!-- Initialization target -->
@@ -915,10 +915,13 @@ list of possible build targets.
<!-- =================================================================== -->
<!-- Creates the documentation -->
<!-- =================================================================== -->
- <target name="docs" depends="site" description="Generates documentation">
+ <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}"/>
+
+ <antcall target="site"/>
</target>
<!-- =================================================================== -->