1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00

added javadoc target to build.xml

This commit is contained in:
ashley willis 2012-05-20 00:56:05 -05:00
parent e591674357
commit 820c16ca94

View File

@ -202,6 +202,8 @@
<echo> Bumps the project version to 3.123,tags and commits it</echo>
<echo> astyle: Make K-9's source look like it's supposed to</echo>
<echo> eclipse: Apply template Eclipse settings</echo>
<echo> javadoc: Create javadoc. Requires ANDROID_HOME environment</echo>
<echo> variable to be set (i.e. /opt/android-sdk-update-manager/)</echo>
</target>
<target name="eclipse" description="Apply template Eclipse settings">
@ -210,6 +212,21 @@
</copy>
</target>
<property environment="env" />
<target name="javadoc" description="build javadoc">
<javadoc
destdir="javadoc"
doctitle="K-9 Mail"
verbose="on"
use="true"
classpath="${env.ANDROID_HOME}/platforms/android-15/android.jar"
sourcepath="gen;src"
linkoffline="http://d.android.com/reference ${env.ANDROID_HOME}/docs/reference/"
stylesheetfile="${env.ANDROID_HOME}/docs/assets/android-developer-docs.css"
/>
<copy file="${env.ANDROID_HOME}/docs/assets/android-developer-core.css" todir="javadoc" />
</target>
<!-- END K-9 STUFF-->
<import file="${sdk.dir}/tools/ant/build.xml" />