Added savedoc target for saving rebuild javadocs.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@759 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-05-24 20:33:10 +00:00
parent 7bfa6234ef
commit ebebcbf530
+10
View File
@@ -20,6 +20,7 @@
<property name="deploy.dir" value="dist"/>
<property name="dist.jar" value="${app.name}.jar"/>
<property name="javadoc.dir" value="${deploy.dir}/docs"/>
<property name="savedoc.dir" value="docs"/>
<!-- declare our classpath -->
<path id="classpath">
@@ -226,6 +227,15 @@
</javadoc>
</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.dir}" includes="**/*"/>
</copy>
</target>
<!-- a target for rebuilding everything -->
<target name="all" depends="clean,prepare,compile,javadoc,dist"/>