war on lfhs continues ... what a mess
[citadel.git] / citadel / bootstrap
index a1ddb3057fc03bf2cd1b522547d3908d15cfffe8..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
+aclocal -I m4
 
 echo ... running autoconf ...
 autoconf
@@ -22,6 +16,14 @@ rm -rf autom4te*.cache
 echo ... running autoheader ...
 autoheader
 
+echo ... running 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
 echo automake 1.5. Other versions may work, but we recommend