diff options
author | Sven Gothel <[email protected]> | 2010-11-16 09:51:30 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-16 09:51:30 +0100 |
commit | 39a1f30e6d014add2cfb46ef472905608bb3ddff (patch) | |
tree | a981d0159788537dfdaad9b874339c5b98f755bb /make/build.xml | |
parent | 6d56c6382299831c1bd109492cbb25a272a17ce3 (diff) |
Use common javadoc file structure 'javadoc/<module>/<javadoc-type>' and zip all <module>/** to javadoc.zip. This shall be done for all jogamp modules
Diffstat (limited to 'make/build.xml')
-rwxr-xr-x | make/build.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/make/build.xml b/make/build.xml index 75635fd..85df779 100755 --- a/make/build.xml +++ b/make/build.xml @@ -47,7 +47,8 @@ <property name="project.root" value=".." /> <property name="src.java" value="${project.root}/src/java" /> <property name="build" location="${project.root}/${rootrel.build}" /> - <property name="javadoc" location="${build}/javadoc" /> + <property name="javadoc.root.path" location="${build}/javadoc" /> + <property name="javadoc.gluegen.path" location="${javadoc.root.path}/gluegen/javadoc" /> <property name="gluegen.lib.dir" value="${build}/obj"/> <tstamp> @@ -754,10 +755,12 @@ </target> <target name="javadoc" depends="init"> - <!-- Build the general public Javadoc --> + <!-- Build the general public Javadoc in the target folder hierarchy javadoc/gluegen/javadoc --> + <delete dir="${javadoc.gluegen.path}" includeEmptyDirs="true" quiet="true" failonerror="false" /> + <mkdir dir="${javadoc.gluegen.path}" /> <javadoc packagenames="com.jogamp.*" sourcepath="${src.java};${src.generated.java}" - destdir="${javadoc}" windowtitle="GlueGen Runtime Documentation" + destdir="${javadoc.gluegen.path}" windowtitle="GlueGen Runtime Documentation" overview="../src/java/com/jogamp/gluegen/package.html" source="1.5" maxmemory="256m" > @@ -766,8 +769,8 @@ <excludepackage name="com.jogamp.common.impl"/> </javadoc> <zip destfile="${build}/javadoc.zip" - basedir="${build}" - includes="javadoc/**" /> + basedir="${javadoc.root.path}" + includes="gluegen/**" /> </target> <!-- ================================================================== --> |