Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / bootstrap
diff --git a/webcit/bootstrap b/webcit/bootstrap
new file mode 100755 (executable)
index 0000000..43c30e3
--- /dev/null
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# run me after checking WebCit out of svn.
+#
+
+# Remove any vestiges of pre-6.05 build environments
+rm -f .libs modules *.so *.lo *.la 2>/dev/null
+
+echo ... running aclocal ...
+aclocal
+    
+echo ... running autoconf ...
+autoconf
+
+# If your autoconf version changes, the autom4te.cache stuff will mess you up.
+# Get rid of it.
+echo ... removing autoheader cache files ...
+rm -rf autom4te*.cache
+    
+echo ... running autoheader ...
+autoheader
+    
+echo ... mk_module_init.sh ...
+./scripts/mk_module_init.sh
+
+
+echo
+echo This script has been tested with autoconf 2.53 and
+echo automake 1.5. Other versions may work, but I recommend the latest
+echo compatible versions of these.
+echo
+echo Also note that autoconf and automake should be configured
+echo with the same prefix.
+echo
+
+grep '^#define CLIENT_VERSION' webcit.h | sed 's/[^0-9]*//g' >package-version.txt