diff options
author | Christian Geisert <chrisg@apache.org> | 2005-09-27 08:46:03 +0000 |
---|---|---|
committer | Christian Geisert <chrisg@apache.org> | 2005-09-27 08:46:03 +0000 |
commit | 0aeafe0ea0e5faad1839610e710c7b96b3327498 (patch) | |
tree | ceea78cd477e112be57211736a242651ba50ead2 | |
parent | 73e174d33f7b018ac7bcf0c98c78fb13bc120814 (diff) | |
download | xmlgraphics-fop-0aeafe0ea0e5faad1839610e710c7b96b3327498.tar.gz xmlgraphics-fop-0aeafe0ea0e5faad1839610e710c7b96b3327498.zip |
Added docs building with forrest
(needs Ant 1.6 and you need to run forrest once manually
as there's a bug with the plugin download)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291860 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build.xml | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -185,6 +185,11 @@ list of possible build targets. <property name="dist.bin.result.dir" value="${dist.bin.dir}/${name}-${version}"/> <property name="dist.src.result.dir" value="${dist.src.dir}/${name}-${version}"/> + <!-- 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"/> + <!-- =================================================================== --> <!-- Initialization target --> <!-- =================================================================== --> @@ -908,6 +913,15 @@ list of possible build targets. <target name="checkstyle" depends="checkstyle-avail, checkstyle-check, checkstyle-html" description="Runs Checkstyle for a code quality report"/> <!-- =================================================================== --> + <!-- Creates the documentation --> + <!-- =================================================================== --> + <target name="docs" depends="site" 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/)"/> + </target> + + <!-- =================================================================== --> <!-- Creates the distribution --> <!-- =================================================================== --> <target name="dist" depends="dist-src,dist-bin" description="Generates the distribution package"/> |