r1974: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 6 May 2002 21:12:08 +0000 (21:12 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 6 May 2002 21:12:08 +0000 (21:12 +0000)
cvsbp-prepare.sh [new file with mode: 0755]

diff --git a/cvsbp-prepare.sh b/cvsbp-prepare.sh
new file mode 100755 (executable)
index 0000000..2c7a724
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+set -e  # abort on error
+
+# Make documentation to put in debian package 
+# This must match prebuilt upstream documentation
+
+if [ -f doc/Makefile ]; then
+  echo "Making upstream documentation for CVS checked-out package"
+  cd doc
+  make all
+  cd ..
+else
+  echo "Unable to build documentation for CVS checked out package"
+  exit 1
+fi
+
+# Clean checked out CVS directory
+rm -f upload.sh make-upstream.sh make-debian.sh make-doc.sh
+rm -f `find . -type f -name .cvsignore`
+rm -rf images doc stamp-h.in build-stamp configure-stamp
+rm -f cvsbp-prepare.sh
+