X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=cvsbp-prepare;h=8e70e0a6f1587f9d248ebb4f1e905acdefaf3a50;hb=e07dc7255b7df36b81b7f95db2e95f6c9c78e70a;hp=53466b85f4472373c93a9f9f91741c62f9b302d3;hpb=00611b4cf8bae33b1db2d048b589c7505b0abfb1;p=uffi.git diff --git a/cvsbp-prepare b/cvsbp-prepare index 53466b8..8e70e0a 100755 --- a/cvsbp-prepare +++ b/cvsbp-prepare @@ -1,15 +1,20 @@ #!/bin/bash +set -e # abort on error + # Make documentation to put in debian package # This must match prebuilt upstream documentation -if [ -d doc/Makefile ]; then +if [ -f doc/Makefile ]; then 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-dist.sh make-doc.sh +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