projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1964: *** empty log message ***
[uffi.git]
/
cvsbp-prepare
diff --git
a/cvsbp-prepare
b/cvsbp-prepare
index 8fb32902ff1a3a454382e45fadcd7700271dd6ce..8e70e0a6f1587f9d248ebb4f1e905acdefaf3a50 100755
(executable)
--- a/
cvsbp-prepare
+++ b/
cvsbp-prepare
@@
-1,7
+1,20
@@
-rm -f upload.sh make-dist.sh make-doc.sh cvsbp-prepare
-rm -f `find . -type f -name .cvsignore`
+#!/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
if [ -f doc/Makefile ]; then
- pushd doc > /dev/null
- make
- popd > /dev/null
+ cd doc
+ make all
+ cd ..
+else
+ echo "Unable to build documentation for CVS checked out package"
+ exit 1
fi
fi
+
+# Clean checked out CVS directory
+rm -f upload.sh make-dist.sh make-doc.sh make-upstream.sh make-debian.sh
+rm -f `find . -type f -name .cvsignore`
+rm -f cvsbp-prepare