-#!/bin/sh
+#!/bin/bash
#
-# run me after checking Citadel out of CVS.
-#
-aclocal
-libtoolize --force
-autoconf
-autoheader
+# run me after checking Citadel out of the source code repository.
-echo
-echo This script has been tested with autoconf 2.52, libtool 1.4.2, and
-echo automake 1.5. Other versions of automake will probably work, but I
-echo recommend the latest compatible versions of autoconf and libtool.
-echo
-echo Some versions of libtool may have outputted, above, a spurious warning
-echo that you have to regenerate your aclocal.m4. This is a mostly harmless bug
-echo and can be ignored.
-echo
+grep '#define REV_LEVEL' server/citadel_defs.h | sed 's/[^0-9]*//g' >package-version.txt