--- build.xml 2005-12-24 14:44:04.000000000 +0100 +++ build.xml-gil 2012-03-05 02:34:24.036918897 +0100 @@ -481,4 +481,21 @@ </target> + <target name="javadoc" description="Generate javadoc" depends="compile"> + <mkdir dir="apidocs"></mkdir> + <tstamp> + <format property="year" pattern="yyyy" /> + </tstamp> + <javadoc use="true" + private="true" + destdir="apidocs" + author="true" + version="true" + sourcepath="src" + packagenames="org.sablecc.sablecc.*"> + <doctitle><![CDATA[<h1>Sablecc ${version} API</h1>]]></doctitle> + <bottom><![CDATA[<small>Copyright © 1997-${year} <a href="http://sablecc.org/">Sablecc</a>. All Rights Reserved.</small>]]></bottom> + </javadoc> + </target> + </project>