diff options
-rw-r--r-- | make/build.xml | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml index 9ffdba22e..d1e654f99 100644 --- a/make/build.xml +++ b/make/build.xml @@ -31,7 +31,8 @@ - win32.vc7 - win32.mingw: build everything (jar, DSOs) for the current platform - clean: clean all built - - javadoc: create the standard developer Javadoc + - javadoc: create the standard developer Javadoc (recommended) + - javadoc.spec: create the standard developer Javadoc but exclude com.sun.* classes - javadoc.dev.win32: - javadoc.dev.x11: - javadoc.dev.macosx: create the internal developer Javadoc. This includes the @@ -234,11 +235,13 @@ <!-- The javadoc dirs. --> <property name="javadoc" value="${project.root}/javadoc_public" /> + <property name="javadoc.spec" value="${project.root}/javadoc_spec" /> <property name="javadoc.dev" value="${project.root}/javadoc_jogl_dev" /> <property name="javadoc.link" value="http://java.sun.com/j2se/1.4.2/docs/api/" /> <property name="javadoc.windowtitle" value="JOGL API -- JSR-231 Draft Public Review Specification" /> <property name="javadoc.overview" value="spec-overview.html" /> <property name="javadoc.packagenames" value="javax.media.opengl,javax.media.opengl.glu,com.sun.opengl.utils" /> + <property name="javadoc.spec.packagenames" value="javax.media.opengl,javax.media.opengl.glu" /> <property name="javadoc.dev.packagenames.win32" value="com.sun.opengl.impl.windows" /> <property name="javadoc.dev.packagenames.x11" value="com.sun.opengl.impl.x11" /> <property name="javadoc.dev.packagenames.macosx" value="com.sun.opengl.impl.macosx" /> @@ -951,6 +954,31 @@ <target name="javadoc" depends="javadoc.nocg,javadoc.cg" /> + <target name="javadoc.spec.nocg" depends="setup.java.home.dir,init" unless="jogl.cg"> + <!-- Build the general Javadoc --> + <javadoc packagenames="${javadoc.spec.packagenames}" + sourcepath="${src.java};${src.generated.java}" + destdir="${javadoc.spec}" windowtitle="${javadoc.windowtitle}" + overview="${javadoc.overview}" + source="1.4" + linkoffline="${javadoc.link} 142-packages" + bottom="${javadoc.bottom}" /> + </target> + + <!-- Same as above since Cg directories are not part of spec --> + <target name="javadoc.spec.cg" depends="setup.java.home.dir,init" if="jogl.cg"> + <!-- Build the general Javadoc --> + <javadoc packagenames="${javadoc.spec.packagenames}" + sourcepath="${src.java};${src.generated.java}" + destdir="${javadoc.spec}" windowtitle="${javadoc.windowtitle}" + overview="${javadoc.overview}" + source="1.4" + linkoffline="${javadoc.link} 142-packages" + bottom="${javadoc.bottom}" /> + </target> + + <target name="javadoc.spec" depends="javadoc.spec.nocg,javadoc.spec.cg" /> + <target name="javadoc.dev.nocg" depends="init" unless="jogl.cg"> <!-- Build the internal developer Javadoc --> <javadoc packagenames="${javadoc.dev.packagenames},${javadoc.dev.packagenames.platform}" @@ -1135,6 +1163,7 @@ <delete includeEmptyDirs="true" quiet="true"> <fileset dir="${build}" /> <fileset dir="${javadoc}" /> + <fileset dir="${javadoc.spec}" /> <fileset dir="${javadoc.dev}" /> </delete> |