[armedbear-cvs] r13212 - trunk/abcl

Mark Evenson mevenson at common-lisp.net
Fri Feb 11 09:04:55 UTC 2011


Author: mevenson
Date: Fri Feb 11 04:04:54 2011
New Revision: 13212

Log:
Added Ant targets to generate javadoc.

'abcl.javadoc' generates the javadoc documentation under
'build/javadoc'.

'abcl.javadoc.jar' packages the javadoc documentation into
'dist/abcl-${abcl.version}-javadoc.jar'.

Modified:
   trunk/abcl/build.xml

Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml	(original)
+++ trunk/abcl/build.xml	Fri Feb 11 04:04:54 2011
@@ -694,6 +694,21 @@
       </jar>
     </target>
 
+    <property name="abcl.javadoc.dir" value="${build.dir}/javadoc"/>
+
+    <target name="abcl.javadoc">
+      <mkdir dir="${abcl.javadoc.dir}"/>
+      <javadoc destdir="${abcl.javadoc.dir}"
+               sourcepath="${src.dir}"/>
+    </target>
+    
+    <target name="abcl.javadoc.jar" depends="abcl.stamp.version,abcl.javadoc">
+      <mkdir dir="${dist.dir}"/>
+      <jar destfile="${dist.dir}/abcl-${abcl.version}-javadoc.jar">
+        <fileset dir="${abcl.javadoc.dir}"/>
+      </jar>
+    </target>
+
     <target name="abcl.binary.prepare" depends="abcl.jar,abcl.stamp.version">
       <property name="abcl.build.binary.dir"
                 value="${build.dir}/abcl-bin-${abcl.version}"/>




More information about the armedbear-cvs mailing list