Added "savedoc" target which builds the javadocs and stuffs them into

docs/api so that they're not blown away next time someone does an ant
clean.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1266 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-04-17 16:08:37 +00:00
parent 4c59b73cdf
commit 4054c0beea
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -10,6 +10,7 @@
<property name="build.compiler" value="jikes"/>
<property name="build.optimize" value="off"/>
<property name="deploy.dir" value="dist"/>
<property name="savedoc.dir" value="docs"/>
<!-- derived properties -->
<property name="dist.jar" value="${app.name}.jar"/>
@@ -75,6 +76,15 @@
</copy>
</target>
<!-- builds the javadocs and stuffs them in a directory where they won't
be blown away when we do "clean" next time -->
<target name="savedoc" depends="javadoc">
<delete dir="${savedoc.dir}/api"/>
<copy todir="${savedoc.dir}/api">
<fileset dir="${javadoc.home}" includes="**/*"/>
</copy>
</target>
<!-- a target for rebuilding everything -->
<target name="all" depends="clean,prepare,compile,javadoc,dist"/>
+1
View File
@@ -0,0 +1 @@
api