source: main/trunk/release-kits/rk2/ant-scripts/create-distribution.xml@ 21311

Last change on this file since 21311 was 21311, checked in by oranfry, 14 years ago

merging the greenstone2 release kits

File size: 1.7 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="rk2-create-distribution">
3
4 <target name="create-distribution">
5
6 <antcall target="copy-compiled-to-dist"/>
7 <antcall target="dist-clean-sourcecode"/>
8 <antcall target="insert-uninstaller"></antcall>
9 <antcall target="strip-svn-dirs"><param name="dir" value="${basedir}/distributions/web"/></antcall>
10
11 <!-- windows -->
12 <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool>
13 <antcall target="copy-server"/>
14 <antcall target="remove-unneeded-files" />
15 <antcall target="create-needed-empty-files"><param name="gsdl.basedir" value="distributions/web"/></antcall>
16 <antcall target="create-binary-zip-windows"/>
17
18 <!-- linux -->
19 <else><if><bool><equals arg1="${rk.os}" arg2="linux"/></bool>
20 <antcall target="insert-export-to-cd-package"><param name="gsdl.basedir" value="distributions/web"/></antcall> <!-- from rk2-targets -->
21 <antcall target="export-imagemagick-linux-binaries"/>
22 <antcall target="export-wvware-linux-binaries"/>
23 <antcall target="remove-unneeded-files" />
24 <antcall target="create-needed-empty-files"><param name="gsdl.basedir" value="distributions/web"/></antcall>
25
26 <!-- mac -->
27 <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool>
28 <antcall target="insert-export-to-cd-package"><param name="gsdl.basedir" value="distributions/web"/></antcall> <!-- from rk2-targets -->
29 <antcall target="export-imagemagick-darwin-binaries" />
30 <antcall target="export-ghostscript-darwin-binaries" />
31 <antcall target="remove-unneeded-files"/>
32 <antcall target="create-needed-empty-files"><param name="gsdl.basedir" value="distributions/web"/></antcall>
33
34 </if></else></if></else></if>
35
36 </target>
37
38</project>
Note: See TracBrowser for help on using the repository browser.