Changeset 19131 for release-kits
- Timestamp:
- 2009-04-20T15:46:09+12:00 (15 years ago)
- Location:
- release-kits/derk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/derk/ant-scripts/build.xml
r19039 r19131 42 42 <if><bool><not><available file="dec"/></not></bool> 43 43 <svn> 44 <export srcurl="${svn.root}/ documented-example-collections/${branch.path}" destPath="dec"/>44 <export srcurl="${svn.root}/collections/documented-examples/${branch.path}" destPath="documented-examples"/> 45 45 </svn> 46 46 </if> … … 55 55 </if> 56 56 57 <exec dir="gs2build" executable="/bin/bash" failonerror="true"><arg value="./configure"/></exec> 58 <exec dir="gs2build/common-src" executable="make" failonerror="true"/> 59 <exec dir="gs2build/common-src" executable="make" failonerror="true"><arg value="install"/></exec> 60 <exec dir="gs2build" executable="/bin/bash" failonerror="true"><arg value="./configure"/></exec> 61 <exec dir="gs2build" executable="make" failonerror="true"/> 62 <exec dir="gs2build" executable="make" failonerror="true"><arg value="install"/></exec> 63 57 <if> 58 <bool><not><available file="gs2build/Makefile"/></not></bool> 59 <exec dir="gs2build" executable="/bin/bash" failonerror="true"><arg value="./configure"/></exec> 60 <exec dir="gs2build/common-src" executable="make" failonerror="true"/> 61 <exec dir="gs2build/common-src" executable="make" failonerror="true"><arg value="install"/></exec> 62 <exec dir="gs2build" executable="/bin/bash" failonerror="true"><arg value="./configure"/></exec> 63 <exec dir="gs2build" executable="make" failonerror="true"/> 64 <exec dir="gs2build" executable="make" failonerror="true"><arg value="install"/></exec> 65 </if> 64 66 </target> 65 67 … … 70 72 <target name="create-archives"> 71 73 <mkdir dir="products"/> 72 <zip destfile="products/Greenstone- ${version}-documented-examples.zip" basedir="${basedir}" includes="dec/**/*"/>74 <zip destfile="products/Greenstone-documented-examples-${version}.zip" basedir="${basedir}" includes="documented-examples/**/*"/> 73 75 <exec executable="tar"> 74 <arg line="-czf products/Greenstone- ${version}-documented-examples.tar.gz dec"/>76 <arg line="-czf products/Greenstone-documented-examples-${version}.tar.gz documented-examples"/> 75 77 </exec> 76 78 </target> -
release-kits/derk/resources/build.sh
r19033 r19131 3 3 source setup.bash 4 4 5 if [ ! -e "collect/d ec" ]; then5 if [ ! -e "collect/documented-examples" ]; then 6 6 cd collect 7 ln -s ../../d ec7 ln -s ../../documented-examples 8 8 cd $opwd 9 9 fi … … 11 11 cd collect 12 12 13 for coll in d ec/*; do13 for coll in documented-examples/*; do 14 14 cd $opwd 15 15 16 16 if [ -d "collect/$coll/etc" ]; then 17 echo 18 echo "Building collection $coll " 19 echo 17 if [ ! -e "collect/$coll/index" ]; then 18 echo 19 echo "Building collection $coll " 20 echo 20 21 21 import.pl --removeold $coll && \ 22 buildcol.pl --removeold $coll && \ 23 rm -rf collect/$coll/index collect/$coll/archives && \ 24 mv collect/$coll/building collect/$coll/index || exit 1 22 import.pl --removeold $coll && \ 23 buildcol.pl --removeold $coll && \ 24 rm -rf collect/$coll/index collect/$coll/archives && \ 25 mv collect/$coll/building collect/$coll/index || exit 1 26 else 27 echo skipping $coll 28 fi 25 29 fi 26 30 done
Note:
See TracChangeset
for help on using the changeset viewer.