Changeset 19456 for release-kits/lirk2
- Timestamp:
- 2009-05-14T09:30:01+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk2/ant-scripts/create-components.xml
r19396 r19456 34 34 <include name="**/*"/> 35 35 36 <!-- exclude sourcecode + imagemagick + build files --> 37 <exclude name="common-src"/> 38 <exclude name="common-src/**/*"/> 39 <exclude name="runtime-src"/> 40 <exclude name="runtime-src/**/*"/> 41 <exclude name="build-src"/> 42 <exclude name="build-src/**/*"/> 36 <!-- exclude imagemagick --> 43 37 <exclude name="bin/linux/imagemagick"/> 44 38 <exclude name="bin/linux/imagemagick/**/*"/> 45 46 <exclude name="acconfig.h"/>47 <exclude name="aclocal.m4"/>48 <exclude name="config.guess"/>49 <exclude name="config.sub"/>50 <exclude name="configtest.pl"/>51 <exclude name="configure"/>52 <exclude name="configure.in"/>53 <exclude name="install-sh"/>54 <exclude name="Makefile.in"/>55 <exclude name="micotest.cpp"/>56 <exclude name="config.h.in"/>57 <exclude name="Install.txt"/>58 59 <exclude name="README*.txt"/>60 <include name="READMEen.txt"/>61 39 62 40 </fileset> … … 69 47 </target> 70 48 71 <!-- sourcecode -->72 <target name="prepare-sourcecode-component">73 74 <delete dir="components/tmp/sourcecode"/>75 <mkdir dir="components/tmp/sourcecode"/>76 77 <exec dir="${basedir}" executable="cp">78 <arg line="-r distributions/web/common-src distributions/web/build-src distributions/web/runtime-src components/tmp/sourcecode"/>79 </exec>80 <exec dir="distributions/web" executable="cp">81 <arg line="acconfig.h aclocal.m4 config.guess config.sub configtest.pl configure configure.in install-sh Makefile.in micotest.cpp config.h.in Install.txt ${basedir}/components/tmp/sourcecode"/>82 </exec>83 84 <mkdir dir="products"/>85 <!-- create a script to create the tar -->86 <echo output="create-sourcecode-component.sh">87 tar -czf ../../../products/Greenstone-${version}-${os.suffix}-sourcecode-component.tar.gz *88 </echo>89 <chmod perm="+x" file="create-sourcecode-component.sh"/>90 91 <!-- run it -->92 <exec dir="components/tmp/sourcecode" executable="/bin/bash">93 <arg line="${basedir}/create-sourcecode-component.sh"/>94 </exec>95 96 <!-- remove it -->97 <delete file="create-sourcecode-component.sh"/>98 99 </target>100 101 <target name="compress-sourcecode-component">102 <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/>103 </target>104 105 49 <!-- imagemagick --> 106 50 <target name="prepare-imagemagick-component"> … … 151 95 </move> 152 96 153 <!-- imagemagick ( alllinux specific) -->97 <!-- imagemagick (completely linux specific) --> 154 98 <mkdir dir="components/tmp/cdrom/imagemagick/linux"/> 155 99 <copy todir="components/tmp/cdrom/imagemagick/linux" overwrite="true"> … … 157 101 </copy> 158 102 159 160 <!-- sourcecode --> 161 <mkdir dir="components/tmp/cdrom/sourcecode/all"/> 162 <mkdir dir="components/tmp/cdrom/sourcecode/linux"/> 163 <copy todir="components/tmp/cdrom/sourcecode/all" overwrite="true"> 164 <fileset dir="components/tmp/sourcecode"/> 165 </copy> 166 <move todir="components/tmp/cdrom/sourcecode/linux" overwrite="true"> 167 <fileset dir="components/tmp/cdrom/sourcecode/all"> 168 <include name="acconfig.h"/> 169 <include name="aclocal.m4"/> 170 <include name="config.guess"/> 171 <include name="config.sub"/> 172 <include name="configtest.pl"/> 173 <include name="configure"/> 174 <include name="configure.in"/> 175 <include name="install-sh"/> 176 <include name="Makefile.in"/> 177 <include name="micotest.cpp"/> 178 <include name="config.h.in"/> 179 </fileset> 180 </move> 181 103 <!-- archive the cd components --> 182 104 <tar destfile="products/cdrom-components-${version}-linux.tar.gz" basedir="components/tmp/cdrom" compression="gzip"/> 183 105
Note:
See TracChangeset
for help on using the changeset viewer.