summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/build.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/make/build.xml b/make/build.xml
index a59134e..dd14d05 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -197,12 +197,16 @@
<include name="demos/data/**" />
</fileset>
</jar>
- <!-- Build a source archive as well -->
+ <!-- Build a source archive as well -->
+ <antcall target="all-src-zip" inheritrefs="true" />
+ </target>
+
+ <target name="all-src-zip" unless="skipSourceZIP">
<delete file="${jogl.demos.src.zip}" />
<zip destfile="${jogl.demos.src.zip}"
- basedir="../.."
- includes="jogl-demos/doc/**,jogl-demos/make/**,jogl-demos/src/**,jogl-demos/lib/**"
- excludes="**/*.class,**/*~"
+ basedir="../.."
+ includes="jogl-demos/doc/**,jogl-demos/make/**,jogl-demos/src/**,jogl-demos/lib/**"
+ excludes="**/*.class,**/*~"
/>
</target>