Build the docs with Forrest before packing the dist.

git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
crossley 2003-09-03 02:17:47 +00:00
parent 2aab8aca2d
commit 85cd1405fb

View File

@ -41,7 +41,7 @@ just creates a distribution out of all of them.
<!-- Public Targets -->
<target name="all"
depends="jars,dist"
depends="docs,jars,dist"
description="Default all target; calls every sub-build file directly.">
</target>
@ -71,6 +71,9 @@ just creates a distribution out of all of them.
<fileset dir="java/"/>
</copy>
<!-- Copy the documentation that has already been built by Forrest -->
<!-- No need, because forrest builds directly into ${dist.dir}/site/ -->
<!-- Copy pertinent top-level files -->
<copy todir="${dist.dir}/${dist.basename}">
<fileset dir="." includes="KEYS,README.html,build.xml"/>
@ -102,5 +105,15 @@ just creates a distribution out of all of them.
</ant>
</target>
<target name="docs">
<!-- call forrest to prepare the docs -->
<ant target="site" />
<!-- copy the various javadocs into the website docs -->
<!-- FIXME: not yet done -->
</target>
<!-- import the Forrest build targets -->
&forrest-targets;
</project>