X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fcvsbp-prepare.sh;fp=debian%2Fcvsbp-prepare.sh;h=0f81021764f0716ed9c566864aabf261dc16c9c6;hb=aecee14abac427c3fe2625516da49eaa2bf40503;hp=0000000000000000000000000000000000000000;hpb=56656f0fb3afdae5f20d11295a41ff23dd618e10;p=ctsim.git diff --git a/debian/cvsbp-prepare.sh b/debian/cvsbp-prepare.sh new file mode 100755 index 0000000..0f81021 --- /dev/null +++ b/debian/cvsbp-prepare.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +set -e # abort on error + +# Make documentation to put in debian package +# This must match prebuilt upstream documentation + +if [ -f make-doc.sh ]; then + echo "Making upstream documentation for CVS checked-out package" + ./make-doc.sh +else + echo "Unable to build documentation for CVS checked out package" + exit 1 +fi + +# Clean checked out CVS directory +rm -f debian/upload.sh debian/make-upstream.sh debian/make-debian.sh debian/cvsbp-prepare.sh +rm -f make-doc.sh do-autoconf +rm -f `find . -type f -name .cvsignore` +rm -rf images doc stamp-h.in build-stamp configure-stamp +rm -f cvsbp-prepare.sh +