source: release-kits/mark2/ant-scripts/build.xml@ 16808

Last change on this file since 16808 was 16808, checked in by oranfry, 16 years ago

fixes to mark2

File size: 1.5 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 ..........................................................
4 June 2008
5 Mac Release Kit for Greenstone2 (mark2)
6 Oran Fry
7 ..........................................................
8-->
9
10<project name="mark2-build" default="mark2">
11
12
13 <!-- CONSTANTS -->
14
15 <!-- the extra space for the dmg image (KB) -->
16 <property name="dmg.overhead" value="2048"/>
17
18 <!-- for the benefit of the shared scripts, set release-kit home -->
19 <property name="rk.home" value="${mark2.home}" />
20
21 <!-- IMPORT OTHER ANT SCRIPTS -->
22 <import file="shared-ant-scripts/init.xml"/>
23 <import file="shared-ant-scripts/operations-on-gli.xml"/>
24 <import file="compile.xml"/>
25 <import file="create-distribution.xml"/>
26 <import file="create-installer.xml"/>
27 <import file="wrap.xml"/>
28
29 <!-- TARGET TO PERFORM ADDITIONAL PRECONDITION CHECKS -->
30 <target name="mark2-init">
31 <if>
32 <bool>
33 <or><equals arg1="${processor}" arg2="ppc" /><equals arg1="${processor}" arg2="intel"/></or>
34 </bool>
35
36 <else>
37 <echo>Processor type not set or set wrongly. Please set the property 'processor' to either 'intel' or 'ppc' in build.properties</echo>
38 <fail>Processor not set</fail>
39 </else>
40 </if>
41 <echo>Processor: ${processor}</echo>
42 </target>
43
44 <!-- THE MAIN TARGET -->
45 <target name="mark2" depends="init,mark2-init">
46 <antcall target="compile"/>
47 <antcall target="create-distribution"/>
48 <antcall target="create-installer"/>
49 <antcall target="wrap"/>
50 </target>
51
52</project>
Note: See TracBrowser for help on using the repository browser.