X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=cvsbp-prepare;h=8e70e0a6f1587f9d248ebb4f1e905acdefaf3a50;hb=e07dc7255b7df36b81b7f95db2e95f6c9c78e70a;hp=c4f321ac27e2f86c4490490ad5dca25a31f97738;hpb=0df6492462f26d4fe2b366d60130a2b202b15c92;p=uffi.git diff --git a/cvsbp-prepare b/cvsbp-prepare index c4f321a..8e70e0a 100755 --- a/cvsbp-prepare +++ b/cvsbp-prepare @@ -1,12 +1,17 @@ #!/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