java_cup/java_cup-0.11a-javadoc.patch

20 lines
619 B
Diff

--- java_cup-0.11a/build.xml 2006-03-28 13:34:52.000000000 +0200
+++ java_cup-0.11a/build.xml-gil 2009-03-23 00:50:54.000000000 +0100
@@ -73,7 +73,14 @@
<java jar="${dist}/java-cup-11a.jar" fork="true">
<arg value="-interface" />
<arg value="${cup}/parser.cup" />
- </java>
-
+ </java>
+ </target>
+
+ <target name="javadoc" >
+ <mkdir dir="${dist}/javadoc"/>
+ <javadoc destdir="${dist}/javadoc" author="true" version="true" use="true" windowtitle="java_cup API">
+ <fileset dir="${src}" defaultexcludes="yes">
+ </fileset>
+ </javadoc>
</target>
</project>