./bootstrap
-export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;LIBCITADEL;"`
+export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;LIBCITADEL;" -e "s;4.;;"`
DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`
ACTUAL_DIR=`pwd`
;;
sourcedist)
- cd ..; tar --exclude .svn \
- --exclude "*svn*" \
- --exclude .libs \
+ cd ..; tar \
+ --exclude ".gitignore" \
--exclude "*.lo" \
--exclude "*.o" \
--exclude "*.d" \
+ --exclude "autom4te.cache/*" \
--exclude "debian/*" \
--exclude "sysdep.h" \
+ \
+ --exclude .libs \
--exclude tests/testdata \
\
-chvzf libcitadel-$LIBCITADEL_VERSION.tar.gz libcitadel-$LIBCITADEL_VERSION/
;;
+ version)
+ echo This would build libcitadel-$LIBCITADEL_VERSION
+ ;;
*)
- echo "Not yet implemented. we have: debian "
+ echo "Not yet implemented. we have: debian, sourcedist "
;;
esac