summaryrefslogtreecommitdiffstats
path: root/build2.xml
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-06-15 13:21:39 -0700
committerHarvey Harrison <[email protected]>2013-06-15 13:21:39 -0700
commita4702472df54f57eae91bc29c1d59c7fc05a495c (patch)
tree88b64523c5ed5f49858942fbda28b327a4b01973 /build2.xml
parentd52e8e0ad6969e5bdb9dc45491f45c079693eb6c (diff)
vecmath: add a documentation target to the build, use package annotation for javadoc
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'build2.xml')
-rw-r--r--build2.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/build2.xml b/build2.xml
index 4a78178..84ad769 100644
--- a/build2.xml
+++ b/build2.xml
@@ -6,6 +6,7 @@
<property name="build.dir" location="build"/>
<property name="gen.dir" location="${build.dir}/gen"/>
<property name="class.dir" location="${build.dir}/classes"/>
+ <property name="javadoc.dir" location="${build.dir}/javadoc"/>
<property name="version_base" value="1.6.0"/>
<property name="build.spec.title" value="3D Vector Math Package"/>
@@ -67,4 +68,15 @@
</zip>
</target>
+
+ <target name="docs" depends="gen">
+ <mkdir dir="${javadoc.dir}"/>
+
+ <javadoc sourcepath="${src.dir}"
+ packagenames="javax.vecmath.*"
+ destdir="${javadoc.dir}"
+ windowtitle="Vecmath ${version_base}">
+ </javadoc>
+ </target>
+
</project> \ No newline at end of file