Changeset 19386 for release-kits
- Timestamp:
- 2009-05-11T15:32:12+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/sork2/ant-scripts/build.xml
r19039 r19386 32 32 <antcall target="tweak-files" /> 33 33 <antcall target="create-archives"/> 34 <antcall target="create-sourcecode"/> 34 35 </target> 35 36 … … 47 48 48 49 <target name="tweak-files"> 49 <!--<rsr file="distributions/Greenstone-${version}-source/Install.sh" pattern="^(iscdrom=).*" replacement="$1"no"" />-->50 <delete file="distributions/Greenstone-${version}-source/Install.sh" />51 50 <delete file="distributions/Greenstone-${version}-source/bin/linux/mgquery_old" /> 52 51 </target> … … 71 70 </target> 72 71 72 <target name="create-sourcecode"> 73 <!-- create a directory for the sourcecode --> 74 <mkdir dir="distributions/Greenstone-${version}-sourcecode"/> 75 76 <!-- copy the files in --> 77 <exec dir="distributions/Greenstone-${version}-source" executable="cp"> 78 <arg value="-r"/> 79 80 <!-- the bulk sourcecode --> 81 <arg value="build-src"/> 82 <arg value="common-src"/> 83 <arg value="runtime-src"/> 84 <arg value="runtime-src"/> 85 86 <!-- unix build files --> 87 <arg value="acconfig.h"/> 88 <arg value="aclocal.m4"/> 89 <arg value="config.sub"/> 90 <arg value="configtest.pl"/> 91 <arg value="configure"/> 92 <arg value="configure.in"/> 93 <arg value="install-sh"/> 94 <arg value="Makefile.in"/> 95 <arg value="micotest.cpp"/> 96 <arg value="config.h.in"/> 97 <arg value="Install.txt"/> 98 99 <!-- windows build files --> 100 <arg value="win32.mak"/> 101 <arg value="win32cfg.h"/> 102 <arg value="makegs2.bat"/> 103 104 <!-- destination --> 105 <arg value="../Greenstone-${version}-sourcecode"/> 106 107 </exec> 108 109 <!-- unzip some windows packages --> 110 <unzip src="distributions/Greenstone-${version}-sourcecode/common-src/indexers/packages/windows/iconv/iconv.zip" dest="distributions/Greenstone-${version}-sourcecode/common-src/indexers/packages/windows/iconv"/> 111 <delete file="distributions/Greenstone-${version}-sourcecode/common-src/indexers/packages/windows/iconv/iconv.zip"/> 112 113 <unzip src="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/crypt/crypt.zip" dest="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/crypt"/> 114 <delete file="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/crypt/crypt.zip"/> 115 116 <unzip src="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/expat/expat.zip" dest="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/expat"/> 117 <delete file="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/expat/expat.zip"/> 118 119 <unzip src="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/stlport/stlport.zip" dest="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/stlport"/> 120 <delete file="distributions/Greenstone-${version}-sourcecode/common-src/packages/windows/stlport/stlport.zip"/> 121 122 <untar src="distributions/Greenstone-${version}-sourcecode/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz" dest="distributions/Greenstone-${version}-sourcecode/common-src/packages/sqlite" compression="gzip"/> 123 <delete file="distributions/Greenstone-${version}-sourcecode/common-src/packages/sqlite/sqlite-amalgamation-3.5.9.tar.gz"/> 124 125 <!-- tar it up --> 126 <exec dir="distributions" executable="tar"> 127 <arg line="-czf ../products/Greenstone-${version}-sourcecode.tar.gz Greenstone-${version}-sourcecode"/> 128 </exec> 129 </target> 130 131 73 132 </project>
Note:
See TracChangeset
for help on using the changeset viewer.