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

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

making mac release kits use components

File size: 1.6 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 <property name="rk.os" value="linux" />
21
22 <!-- IMPORT OTHER ANT SCRIPTS -->
23 <import file="shared-ant-scripts/init.xml"/>
24 <import file="shared-ant-scripts/operations-on-gli.xml"/>
25 <import file="../greenstone2/ant-scripts/rk2-targets.xml"/>
26 <import file="compile.xml"/>
27 <import file="create-distribution.xml"/>
28 <import file="create-components.xml"/>
29 <import file="create-installer.xml"/>
30 <import file="wrap.xml"/>
31
32 <!-- TARGET TO PERFORM ADDITIONAL PRECONDITION CHECKS -->
33 <target name="mark2-init">
34 <if>
35 <bool>
36 <or><equals arg1="${processor}" arg2="ppc" /><equals arg1="${processor}" arg2="intel"/></or>
37 </bool>
38
39 <else>
40 <echo>Processor type not set or set wrongly. Please set the property 'processor' to either 'intel' or 'ppc' in build.properties</echo>
41 <fail>Processor not set</fail>
42 </else>
43 </if>
44 <echo>Processor: ${processor}</echo>
45 </target>
46
47 <!-- THE MAIN TARGET -->
48 <target name="mark2" depends="init,mark2-init">
49 <antcall target="compile"/>
50 <antcall target="create-distribution"/>
51 <antcall target="create-components"/>
52 <antcall target="create-installer"/>
53 <antcall target="wrap"/>
54 </target>
55
56</project>
Note: See TracBrowser for help on using the repository browser.