war on lfhs continues ... what a mess
[citadel.git] / citadel / bootstrap
index e1a5cebc1e2da3caf06986841cbdf6abd2d7d854..354aed11092472e0a0fff49e1f41ef7708841072 100755 (executable)
@@ -1,12 +1,9 @@
 #!/bin/sh
 #
 # run me after checking Citadel out of the source code repository.
-# Remove any vestiges of pre-6.05 build environments
-rm -f .libs modules *.so *.lo *.la 2>/dev/null
 
 echo ... running aclocal ...
-aclocal  -I m4
+aclocal -I m4
 
 echo ... running autoconf ...
 autoconf
@@ -25,6 +22,8 @@ echo ... running mk_svn_revision.sh ...
 echo ... running mk_module_init.sh ...
 ./scripts/mk_module_init.sh
 
+grep '#define REV_LEVEL' citadel.h | sed 's/[^0-9]*//g' >package-version.txt
+
 echo
 echo This script has been tested with autoconf 2.53 and
 echo automake 1.5. Other versions may work, but we recommend