4
echo "*** Autogening main sword engine build system"
8
REV=`cd ..;basename \`pwd ..\`|cut -d\- -f2`
9
SWORDVER=`grep "define VERSI" ../include/config.h |cut -f2 -d"\""`
11
sed -i "s/^\(PROJECT_NUMBER\).*/\1 = \"$SWORDVER\"/" ../doc/Doxyfile
13
if [ "$REV" = "$SWORDVER" ]; then
17
echo "*** Autogening swig bindings build system"
19
cd ../bindings/swig/package; ./autogen.sh; cd ../../..;
22
echo "*** Tarring up" sword-$REV.tar.gz
24
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/*
27
echo $"Directory version is $REV, but config.h has $SWORDVER"