r1984: *** empty log message ***
[ctsim.git] / cvsbp-prepare.sh
1 #!/bin/bash
2
3 set -e  # abort on error
4
5 # Make documentation to put in debian package 
6 # This must match prebuilt upstream documentation
7
8 if [ -f make-doc.sh ]; then
9   echo "Making upstream documentation for CVS checked-out package"
10   ./make-doc.sh
11 else
12   echo "Unable to build documentation for CVS checked out package"
13   exit 1
14 fi
15
16 # Clean checked out CVS directory
17 rm -f upload.sh make-upstream.sh make-debian.sh make-doc.sh do-autoconf cvsbp-prepare.sh
18 rm -f `find . -type f -name .cvsignore`
19 rm -rf images doc stamp-h.in build-stamp configure-stamp
20 rm -f cvsbp-prepare.sh
21