From: Kevin M. Rosenberg Date: Mon, 6 May 2002 03:28:23 +0000 (+0000) Subject: r1964: *** empty log message *** X-Git-Tag: v1.6.1~394 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;ds=inline;h=e07dc7255b7df36b81b7f95db2e95f6c9c78e70a;p=uffi.git r1964: *** empty log message *** --- 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 diff --git a/cvsbp-prepare.sh b/cvsbp-prepare.sh new file mode 100755 index 0000000..8e70e0a --- /dev/null +++ b/cvsbp-prepare.sh @@ -0,0 +1,20 @@ +#!/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 + 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 make-upstream.sh make-debian.sh +rm -f `find . -type f -name .cvsignore` +rm -f cvsbp-prepare diff --git a/make-upstream.sh b/make-upstream.sh index 3a87216..71b6632 100755 --- a/make-upstream.sh +++ b/make-upstream.sh @@ -53,7 +53,7 @@ cp -a ${TOPDIR} ${DISTDIR} echo "Cleaning distribution directory ${DISTDIR}" cd ${DISTDIR} -rm -f upload.sh make-dist.sh cvsbp-prepare +rm -f upload.sh make-upload.sh make-debian.sh cvsbp-prepare.sh rm -f `find . -type f -name .cvsignore` rm -rf `find . -type d -name CVS` rm -f `find . -type f -name '*~' -or -name '.#*' -or -name '#*#' -or -name ".*~"`