-#!/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.
+
+grep '#define REV_LEVEL' server/citadel_defs.h | sed 's/[^0-9]*//g' >package-version.txt