Changeset 17996
- Timestamp:
- 2008-12-02T11:38:30+13:00 (15 years ago)
- Location:
- release-kits
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk2/ant-scripts/build.xml
r17898 r17996 16 16 <property name="rk.home" value="${lirk2.home}" /> 17 17 <property name="rk.os" value="linux" /> 18 <property name="shell.os" value="linux"/> 18 19 <property name="os.suffix" value="linux"/> 19 20 -
release-kits/lirk2/ant-scripts/create-distribution.xml
r17993 r17996 12 12 <antcall target="drop-in-demo-collection" /> 13 13 <antcall target="insert-export-to-cd-package"><param name="gsdl.basedir" value="distributions/web"/></antcall> <!-- from rk2-targets --> 14 <antcall target="remove-unneeded-files-1" />15 16 14 <antcall target="drop-in-binaries" /> 17 15 <antcall target="export-imagemagick-linux-binaries" /> 18 16 <antcall target="compile-gli" /> 19 <antcall target="remove-unneeded-files-2" /> 17 <antcall target="remove-unneeded-files" /> 18 19 <antcall target="create-binary-zip-linux"/> 20 20 21 21 </target> … … 51 51 <fileset dir="${lirk2.home}/greenstone2/docs"/> 52 52 </copy> 53 </target>54 55 <target name="remove-unneeded-files-1">56 <delete file="${basedir}/distributions/web/gli/.greenstonestore" />57 <!-- delete non-linux source stuff -->58 <delete><fileset dir="${basedir}/distributions/web" includes="win32.mak,WIN32cfg.h,Install.txt"/></delete>59 53 </target> 60 54 … … 99 93 </target> 100 94 101 <target name="remove-unneeded-files-2"> 95 <target name="remove-unneeded-files"> 96 <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 97 <delete><fileset dir="${basedir}/distributions/web" includes="win32.mak,WIN32cfg.h,Install.sh"/></delete> 102 98 <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" /> 103 99 <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete> -
release-kits/mark2/ant-scripts/build.xml
r17898 r17996 19 19 <property name="rk.home" value="${mark2.home}" /> 20 20 <property name="rk.os" value="linux" /> 21 <property name="shell.os" value="darwin" /> 21 22 <!-- os.suffix set dynamically below --> 22 23 -
release-kits/mark2/ant-scripts/create-distribution.xml
r17995 r17996 10 10 <antcall target="tweak-files" /> 11 11 <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 12 <antcall target="remove-unneeded-files-1" />13 14 12 <antcall target="drop-in-binaries" /> 15 13 <antcall target="drop-in-demo-collection" /> … … 18 16 <antcall target="export-ghostscript-darwin-binaries" /> 19 17 <antcall target="compile-gli" /> 20 <antcall target="remove-unneeded-files-2" /> 18 <antcall target="remove-unneeded-files" /> 19 20 <antcall target="create-binary-zip-linux"/> 21 21 22 22 </target> … … 99 99 </target> 100 100 101 <target name="remove-unneeded-files -1">101 <target name="remove-unneeded-files"> 102 102 <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 103 <!-- delete non-linux source stuff --> 104 <delete><fileset dir="${basedir}/distributions/web" includes="win32.mak,WIN32cfg.h,Install.txt"/></delete> 105 </target> 106 107 <target name="remove-unneeded-files-2"> 103 <delete><fileset dir="${basedir}/distributions/web" includes="win32.mak,WIN32cfg.h,Install.sh"/></delete> 108 104 <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete> 109 105 <delete><fileset dir="${basedir}/distributions/web" includes="*.bat"/></delete> -
release-kits/shared/ant-scripts/init.xml
r17981 r17996 379 379 <if> 380 380 <bool><equals arg1="zip" arg2="${format}"/></bool> 381 <zip destfile="products/Greenstone-${version}-${os.suffix}-binary.zip" basedir="distributions/ web" compress="true"/>381 <zip destfile="products/Greenstone-${version}-${os.suffix}-binary.zip" basedir="distributions/Greenstone-${version}-${os.suffix}-binary" compress="true"/> 382 382 <else> 383 383 <exec dir="distributions" executable="tar"> 384 <arg line="-czf ../products/Greenstone-${version}-${os.suffix}-binary.tar.gz web"/>384 <arg line="-czf ../products/Greenstone-${version}-${os.suffix}-binary.tar.gz Greenstone-${version}-${os.suffix}-binary"/> 385 385 </exec> 386 386 </else> -
release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml
r17958 r17996 38 38 </target> 39 39 40 <target name="create-binary-zip-linux"> 41 <property name="binzip.dir" value="distributions/Greenstone-${version}-${os.suffix}-binary"/> 42 <!-- 43 <exec dir="${basedir}" executable="cp"><arg line="-r distributions/web ${binzip.dir}"/></exec> 44 <exec dir="${basedir}" executable="cp"><arg line="${binzip.dir}/bin/linux/library distributions/Greenstone-${version}-${os.suffix}-binary/cgi-bin"/></exec> 45 <exec dir="${basedir}" executable="cp"><arg line="${binzip.dir}/bin/linux/oaiserver distributions/Greenstone-${version}-${os.suffix}-binary/cgi-bin"/></exec> 46 --> 47 48 <!-- delete sourcecode --> 49 <delete dir="${binzip.dir}/common-src"/> 50 <delete dir="${binzip.dir}/build-src"/> 51 <delete dir="${binzip.dir}/runtime-src"/> 52 53 <!-- delete loose files --> 54 <delete> 55 <fileset dir="${binzip.dir}" includes="README*.txt,Uninstall.sh,uninst.jar" excludes="READMEen.txt"/> 56 </delete> 57 58 </target> 59 60 <target name="create-binary-zip-windows"> 61 <copy todir="distributions/Greenstone-${version}-${os.suffix}-binary"> 62 <fileset dir="distributions/web"/> 63 </copy> 64 <copy todir="distributions/Greenstone-${version}-${os.suffix}-binary/cgi-bin"> 65 <fileset dir="distributions/Greenstone-${version}-${os.suffix}-binary/bin/${shell.os}"> 66 <includes name="library,oaiservr"/> 67 </fileset> 68 </copy> 69 <delete> 70 <fileset dir="distributions/Greenstone-${version}-${os.suffix}-binary"> 71 <include name="common-src/**/*"/> 72 <include name="common-src"/> 73 <include name="build-src/**/*"/> 74 <include name="build-src"/> 75 <include name="runtime-src/**/*"/> 76 <include name="runtime-src"/> 77 <include name="README*.txt"/> 78 <exclude name="READMEen.txt"/> 79 <include name="Uninstaller.bat"/> 80 <include name="uninst.bat"/> 81 <include name="uninst.jar"/> 82 </fileset> 83 </delete> 84 </target> 85 40 86 </project> -
release-kits/shared/linux/rk
r17633 r17996 36 36 37 37 #cd up a level or two if needed 38 if [ ! -e " build.properties" ]; then39 if [ -e "../ build.properties" ]; then38 if [ ! -e "$rk_name-build.properties" ]; then 39 if [ -e "../$rk_name-build.properties" ]; then 40 40 RKOLDPWD=`pwd` 41 41 cd .. 42 elif [ -e "../../ build.properties" ]; then42 elif [ -e "../../$rk_name-build.properties" ]; then 43 43 RKOLDPWD=`pwd` 44 44 cd ../.. -
release-kits/wirk2/ant-scripts/build.xml
r17898 r17996 19 19 <property name="rk.home" value="${wirk2.home}" /> 20 20 <property name="rk.os" value="windows" /> 21 <property name="shell.os" value="windows" /> 21 22 <property name="os.suffix" value="win32"/> 22 23 -
release-kits/wirk2/ant-scripts/create-distribution.xml
r17967 r17996 10 10 <antcall target="tweak-files" /> 11 11 <antcall target="insert-uninstaller"><param name="script-format" value="bat"/></antcall> <!-- from rk2-targets --> 12 <antcall target="remove-unneeded-files-1" />13 12 <antcall target="dist-unzip-packages"/> 14 15 13 <antcall target="drop-in-binaries" /> 16 14 <antcall target="drop-in-demo-collection" /> … … 18 16 <antcall target="drop-in-misc" /> 19 17 <antcall target="compile-gli" /> 20 <antcall target="remove-unneeded-files -2" />18 <antcall target="remove-unneeded-files" /> 21 19 22 20 </target> … … 90 88 </target> 91 89 92 <target name="remove-unneeded-files -1">90 <target name="remove-unneeded-files"> 93 91 <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 94 <!-- delete non-windows source stuff -->95 92 <delete><fileset dir="${basedir}/distributions/web" includes="*.bash,*.sh,*.csh,install-sh,configure,configure.in,config.sub,config.guess,config.h.in,configtest.pl,Makefile.in,aclocal.m4,acconfig.h,micotest.cpp"/></delete> 96 </target>97 98 <target name="remove-unneeded-files-2">99 93 <delete dir="${basedir}/distributions/web/bin/linux" /> 100 <delete><fileset dir="${basedir}/distributions/web" includes="*.bash,*.sh,*.csh,install-sh,configure,configure.in,config.sub,config.guess,config.h.in,configtest.pl,Makefile.in,aclocal.m4,acconfig.h,micotest.cpp,win32.mak,WIN32cfg.h,Install. txt"/></delete>94 <delete><fileset dir="${basedir}/distributions/web" includes="*.bash,*.sh,*.csh,install-sh,configure,configure.in,config.sub,config.guess,config.h.in,configtest.pl,Makefile.in,aclocal.m4,acconfig.h,micotest.cpp,win32.mak,WIN32cfg.h,Install.sh"/></delete> 101 95 <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.sh,*4gs3.bat"/></delete> 102 96 <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" />
Note:
See TracChangeset
for help on using the changeset viewer.