#!/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
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