war on lfhs continues ... what a mess
[citadel.git] / citadel / bootstrap
index d14671ffd93db598810cb94819ad41e962235d15..354aed11092472e0a0fff49e1f41ef7708841072 100755 (executable)
@@ -1,15 +1,9 @@
 #!/bin/sh
 #
-# run me after checking Citadel out of CVS.
-#
-# $Id$
-#
-
-# Remove any vestiges of pre-6.05 build environments
-rm -f .libs modules *.so *.lo *.la 2>/dev/null
+# run me after checking Citadel out of the source code repository.
 
 echo ... running aclocal ...
-aclocal  -I m4
+aclocal -I m4
 
 echo ... running autoconf ...
 autoconf
@@ -23,7 +17,12 @@ echo ... running autoheader ...
 autoheader
 
 echo ... running mk_svn_revision.sh ...
-./mk_svn_revision.sh
+./scripts/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