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:
@@ -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"/>
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
api
|
||||
Reference in New Issue
Block a user