Changeset 16655 for release-kits/mark3/ant-scripts/compile.xml
- Timestamp:
- 2008-08-06T15:07:41+12:00 (16 years ago)
- Location:
- release-kits/mark3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/mark3
- Property svn:externals
-
old new 2 2 linux http://svn.greenstone.org/release-kits/shared/linux 3 3 greenstone3 http://svn.greenstone.org/release-kits/shared/greenstone3 4 mac http://svn.greenstone.org/release-kits/shared/mac 4 5
-
- Property svn:externals
-
release-kits/mark3/ant-scripts/compile.xml
r16172 r16655 1 1 <?xml version="1.0" encoding="utf-8" ?> 2 <project name=" lirk3-compile" default="compile">2 <project name="mark3-compile" default="compile"> 3 3 4 4 … … 10 10 <!-- preparation --> 11 11 <addressedcall target="set-version-number-property" /> 12 <addressedcall target="set-gdbm-installed-path" /> 12 13 <addressedcall target="dist-prepare-unix" /> 13 <addressedcall target="tweak-configure-scripts" />14 14 15 15 <!-- update --> … … 22 22 <!-- build --> 23 23 <addressedcall target="dist-build-unix" /> 24 <addressedcall target="fix-wget" />25 24 <addressedcall target="linux-strip-execs" /> 26 25 … … 41 40 <if><bool><istrue value="${execute}"/></bool> 42 41 <rsr file="greenstone3/resources/java/global.properties.in" pattern="(.*)@gsdl3version@(.*)" replacement="$1${version}$2" /> 42 43 43 </if> 44 44 </target> 45 45 46 <target name="set-gdbm-installed-path"> 47 <if><bool><istrue value="${execute}"/></bool> 48 <rsr file="greenstone3/build.properties" pattern="(gdbm.installed.path=).*" replacement="$1${mark3.home}/mac/${processor}/gdbm"/> 49 </if> 50 </target> 51 52 53 54 46 55 <target name="dist-prepare-unix"> 47 56 <if><bool><istrue value="${execute}"/></bool> 48 <ant dir="greenstone3" antfile="${ lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="prepare-unix" inheritAll="false"/>57 <ant dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" target="prepare-unix" inheritAll="false"/> 49 58 </if> 50 </target>51 <target name="tweak-configure-scripts">52 <addressedcall target="mgpp-add-static" />53 <addressedcall target="mg-add-static" />54 <addressedcall target="gs2buildextra-add-static" />55 59 </target> 56 60 57 61 <target name="dist-update-unix"> 58 62 <if><bool><istrue value="${execute}"/></bool> 59 <ant dir="greenstone3" antfile="${ lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="update-unix" inheritAll="false"/>63 <ant dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" target="update-unix" inheritAll="false"/> 60 64 </if> 61 65 </target> … … 63 67 <target name="dist-configure-unix"> 64 68 <if><bool><istrue value="${execute}"/></bool> 65 <exec dir="greenstone3/gs2build/gs2build-extra" executable="autoconf" output="greenstone3/gs2build/configure"> 66 <arg line="configure.in"/> 67 </exec> 68 <chmod file="greenstone3/gs2build/configure" perm="+x"/> 69 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="configure-unix" inheritAll="false"/> 69 <ant dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" target="configure-unix" inheritAll="false"/> 70 70 </if> 71 71 </target> 72 72 73 <target name="tweak-makefiles"> 74 <addressedcall target="wv-add-static" /> 75 <addressedcall target="xlhtml-add-static" /> 76 <addressedcall target="ppthtml-add-static" /> 77 <addressedcall target="rtftohtml-add-static" /> 78 <addressedcall target="gdbm-add-static" /> 79 </target> 73 <target name="tweak-makefiles"> 74 <if><bool><istrue value="${execute}"/></bool> 75 <rsr 76 file="${basedir}/greenstone3/gs2build/common-src/src/gdbmedit/db2txt/Makefile" 77 pattern="^(LIBS ?=.*)-L${mark3.home}/mac/${processor}/gdbm/lib -lgdbm(.*)$" 78 replacement="$1${mark3.home}/mac/${processor}/gdbm/lib/libgdbm.a$2" /> 79 80 <rsr 81 file="${basedir}/greenstone3/gs2build/common-src/src/gdbmedit/txt2db/Makefile" 82 pattern="^(LIBS ?=.*)-L${mark3.home}/mac/${processor}/gdbm/lib -lgdbm(.*)$" 83 replacement="$1${mark3.home}/mac/${processor}/gdbm/lib/libgdbm.a$2" /> 84 <rsr 85 file="${basedir}/greenstone3/src/packages/javagdbm/jni/Makefile" 86 pattern="^(GDBM_LIBS ?=.*)-L${mark3.home}/mac/${processor}/gdbm/lib -lgdbm(.*)$" 87 replacement="$1${mark3.home}/mac/${processor}/gdbm/lib/libgdbm.a$2" /> 88 89 </if> 90 </target> 80 91 81 92 <target name="dist-build-unix"> 82 93 <if><bool><istrue value="${execute}"/></bool> 83 <ant dir="greenstone3" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="build-unix" inheritAll="false"/> 84 </if> 85 </target> 86 87 <target name="fix-wget"> 88 <if><bool><istrue value="${execute}"/></bool> 89 <!-- fix this !!! --> 90 <delete file="greenstone3/gs2build/packages/wget/wget-1.9/src/wget"/> 94 <ant dir="greenstone3" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" target="build-unix" inheritAll="false"/> 91 95 </if> 92 96 </target> … … 94 98 <target name="linux-strip-execs"> 95 99 <if><bool><istrue value="${execute}"/></bool> 96 <exec dir="greenstone3/gs2build/bin/ linux" executable="find">97 <arg line=" ! -name . -exec strip {} ;"/>100 <exec dir="greenstone3/gs2build/bin/darwin" executable="find"> 101 <arg line=". ! -name . -exec strip {} ;"/> 98 102 </exec> 99 103 </if> … … 191 195 </target> 192 196 197 </project> 193 198 194 195 </project>
Note:
See TracChangeset
for help on using the changeset viewer.