Changeset 18765 for release-kits
- Timestamp:
- 2009-03-24T12:19:19+13:00 (15 years ago)
- Location:
- release-kits/lirk2/ant-scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk2/ant-scripts/compile.xml
r18703 r18765 55 55 56 56 <target name="run-configure"> 57 <exec dir="${basedir}/compiled" executable="${basedir}/compiled/configure" >57 <exec dir="${basedir}/compiled" executable="${basedir}/compiled/configure" failonerror="true"> 58 58 <arg line="--enable-apache-httpd"/> 59 59 <env key="LDFLAGS" value="-static"/> … … 81 81 82 82 <target name="run-make"> 83 <exec dir="${basedir}/compiled" executable="make" />83 <exec dir="${basedir}/compiled" executable="make" failonerror="true"/> 84 84 </target> 85 85 86 86 87 87 <target name="run-make-install"> 88 <exec dir="${basedir}/compiled" executable="make" ><arg value="install"/></exec>88 <exec dir="${basedir}/compiled" executable="make" failonerror="true"><arg value="install"/></exec> 89 89 </target> 90 90 91 91 <target name="copy-library-oai"> 92 <exec executable="mv" ><arg line="${basedir}/compiled/cgi-bin/library.cgi ${basedir}/compiled/bin/linux/library.cgi"/></exec>93 <exec executable="mv" ><arg line="${basedir}/compiled/cgi-bin/oaiserver.cgi ${basedir}/compiled/bin/linux/oaiserver.cgi"/></exec>92 <exec executable="mv" failonerror="true"><arg line="${basedir}/compiled/cgi-bin/library.cgi ${basedir}/compiled/bin/linux/library.cgi"/></exec> 93 <exec executable="mv" failonerror="true"><arg line="${basedir}/compiled/cgi-bin/oaiserver.cgi ${basedir}/compiled/bin/linux/oaiserver.cgi"/></exec> 94 94 </target> 95 95 96 96 <target name="strip-execs"> 97 <exec dir="${basedir}/compiled/bin/linux" executable="find" >97 <exec dir="${basedir}/compiled/bin/linux" executable="find" failonerror="true"> 98 98 <arg line="! -name . -type f -maxdepth 1 -exec strip {} ;"/> 99 99 </exec> … … 101 101 102 102 <target name="build-demo-collection"> 103 <exec dir="${basedir}/compiled" executable="${lirk2.home}/resources/build-demo.sh" />103 <exec dir="${basedir}/compiled" executable="${lirk2.home}/resources/build-demo.sh" failonerror="true"/> 104 104 </target> 105 105 -
release-kits/lirk2/ant-scripts/create-components.xml
r18049 r18765 8 8 <antcall target="prepare-components" /> 9 9 <antcall target="compress-components" /> 10 <antcall target="produce-cd-components"/> 10 11 </target> 11 12 … … 14 15 <antcall target="prepare-core-component" /> 15 16 <antcall target="prepare-imagemagick-component" /> 16 17 17 18 <antcall target="prepare-sourcecode-component" /> 18 19 19 </target> 20 20 … … 50 50 <exclude name="acconfig.h"/> 51 51 <exclude name="aclocal.m4"/> 52 <exclude name="config.guess"/> 52 53 <exclude name="config.sub"/> 53 54 <exclude name="configtest.pl"/> … … 101 102 102 103 </target> 103 104 104 105 <target name="compress-sourcecode-component"> 105 106 <sevenzip task="encode" input="components/sourcecode.comp" output="components/sourcecode.lzma" dictionnary="26"/> … … 125 126 </target> 126 127 128 <!-- 129 cd components 130 produce components for cdrom distributions, to be picked up and used by cdrk2 release kit 131 split components into linux only files (linux) and general files (all) 132 --> 133 <target name="produce-cd-components"> 134 <delete dir="components/tmp/cdrom"/> 135 <mkdir dir="components/tmp/cdrom"/> 136 137 <!-- core --> 138 <mkdir dir="components/tmp/cdrom/core/all"/> 139 <mkdir dir="components/tmp/cdrom/core/linux"/> 140 <copy todir="components/tmp/cdrom/core/all" overwrite="true"> 141 <fileset dir="components/tmp/core"/> 142 </copy> 143 <move todir="components/tmp/cdrom/core/linux" overwrite="true"> 144 <fileset dir="components/tmp/cdrom/core/all"> 145 <include name="bin/linux"/> 146 <include name="bin/linux/**/*"/> 147 <include name="bin/windows"/> 148 <include name="bin/windows/**/*"/> 149 <include name="apache-httpd/linux"/> 150 <include name="apache-httpd/linux/**/*"/> 151 <include name="*.sh"/> 152 <include name="*.csh"/> 153 <include name="*.bash"/> 154 </fileset> 155 </move> 156 157 <!-- imagemagick (all linux specific) --> 158 <mkdir dir="components/tmp/cdrom/imagemagick/linux"/> 159 <copy todir="components/tmp/cdrom/imagemagick/linux" overwrite="true"> 160 <fileset dir="components/tmp/imagemagick"/> 161 </copy> 162 163 164 <!-- sourcecode --> 165 <mkdir dir="components/tmp/cdrom/sourcecode/all"/> 166 <mkdir dir="components/tmp/cdrom/sourcecode/linux"/> 167 <copy todir="components/tmp/cdrom/sourcecode/all" overwrite="true"> 168 <fileset dir="components/tmp/sourcecode"/> 169 </copy> 170 <move todir="components/tmp/cdrom/sourcecode/linux" overwrite="true"> 171 <fileset dir="components/tmp/cdrom/sourcecode/all"> 172 <include name="acconfig.h"/> 173 <include name="aclocal.m4"/> 174 <include name="config.guess"/> 175 <include name="config.sub"/> 176 <include name="configtest.pl"/> 177 <include name="configure"/> 178 <include name="configure.in"/> 179 <include name="install-sh"/> 180 <include name="Makefile.in"/> 181 <include name="micotest.cpp"/> 182 <include name="config.h.in"/> 183 </fileset> 184 </move> 185 186 <tar destfile="products/cdrom.tar.gz" basedir="components/tmp/cdrom" compression="gzip"/> 187 188 </target> 189 127 190 </project>
Note:
See TracChangeset
for help on using the changeset viewer.