[sword-svn] r2165 - in trunk: bindings/swig/package scripts
scribe at www.crosswire.org
scribe at www.crosswire.org
Thu May 15 11:09:45 MST 2008
Author: scribe
Date: 2008-05-15 11:09:44 -0700 (Thu, 15 May 2008)
New Revision: 2165
Modified:
trunk/bindings/swig/package/autogen.sh
trunk/scripts/mkswordtar
Log:
Added swig binding autogen call to release script -Ben Morgan
Added libtoolize to binding autogen script -Ben Morgan
Modified: trunk/bindings/swig/package/autogen.sh
===================================================================
--- trunk/bindings/swig/package/autogen.sh 2008-05-14 22:48:59 UTC (rev 2164)
+++ trunk/bindings/swig/package/autogen.sh 2008-05-15 18:09:44 UTC (rev 2165)
@@ -3,6 +3,12 @@
cp -a ../*.i .
cp -a ../*.h .
+echo "*** Recreating libtool"
+if test -z "$LTIZE"; then
+LTIZE="$AUTODIR""libtoolize"
+fi
+echo "$LTIZE"
+ $LTIZE --force --copy;
ACLOCAL="$AUTODIR""aclocal"
echo "*** Recreating aclocal.m4"
Modified: trunk/scripts/mkswordtar
===================================================================
--- trunk/scripts/mkswordtar 2008-05-14 22:48:59 UTC (rev 2164)
+++ trunk/scripts/mkswordtar 2008-05-15 18:09:44 UTC (rev 2165)
@@ -1,12 +1,26 @@
#!/bin/sh
+
+echo
+echo "*** Autogening main sword engine build system"
+echo
(cd ..;./autogen.sh)
+
REV=`cd ..;basename \`pwd ..\`|cut -d\- -f2`
SWORDVER=`grep "define VERSI" ../include/config.h |cut -f2 -d"\""`
if test `echo $REV` == `echo $SWORDVER`; then
chmod +x *
- cd ..; ./autogen.sh
- cd ..; tar -v -c -p -s -z --exclude sword-$REV/bin -X sword-$REV/distignore -f sword-$REV.tar.gz sword-$REV/*
+
+ echo
+ echo "*** Autogening swig bindings build system"
+ echo
+ cd ../bindings/swig/package; ./autogen.sh; cd ../../..;
+
+ echo
+ echo "*** Tarring up" sword-$REV.tar.gz
+ echo
+ cd ..; tar -v -c -p -s -z --exclude sword-$REV/bin --exclude sword-$REV/autom4te.cache --exclude sword-$REV/bindings/swig/package/autom4te.cache -X sword-$REV/distignore -f sword-$REV.tar.gz sword-$REV/*
+
else
echo $"Directory version is $REV, but config.h has $SWORDVER"
exit 1
More information about the sword-cvs
mailing list