summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/build.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index 4de14e0..95afeee 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -41,6 +41,7 @@
<property name="jogl.demos.jar" value="../build/jogl-demos.jar" />
<property name="jogl.demos.util.jar" value="../build/jogl-demos-util.jar" />
<property name="jogl.demos.data.jar" value="../build/jogl-demos-data.jar" />
+ <property name="jogl.demos.src.zip" value="../build/jogl-demos-src.zip" />
</target>
<target name="all" depends="init">
@@ -70,6 +71,13 @@
<include name="demos/data/**" />
</fileset>
</jar>
+ <!-- Build a source archive as well -->
+ <delete file="${jogl.demos.src.zip}" />
+ <zip destfile="${jogl.demos.src.zip}"
+ basedir="../.."
+ includes="jogl-demos/doc/**,jogl-demos/make/**,jogl-demos/src/**"
+ excludes="**/*.class,**/*~"
+ />
</target>
<target name="javadoc" depends="init">