DEVEL15-cvsignore-happiness-20060801
[openafs.git] / regen.sh
index 1aa0953..f5150fe 100755 (executable)
--- a/regen.sh
+++ b/regen.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 echo "Updating configuration..."
 echo "Running aclocal"
 aclocal -I src/cf
@@ -10,3 +11,13 @@ echo "Running autoheader"
 autoheader
 #echo "Running automake"
 #automake
+
+echo "Deleting autom4te.cache directory"
+rm -r autom4te.cache
+
+# Rebuild the man pages, to not require those building from source to have
+# pod2man available.
+if test -d doc/man-pages ; then
+    echo "Building man pages"
+    (cd doc/man-pages && ./generate-man)
+fi