r1964: *** empty log message ***
[uffi.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 doc/Makefile ]; then
9   cd doc
10   make all
11   cd ..
12 else
13   echo "Unable to build documentation for CVS checked out package"
14   exit 1
15 fi
16
17 # Clean checked out CVS directory
18 rm -f upload.sh make-dist.sh make-doc.sh make-upstream.sh make-debian.sh
19 rm -f `find . -type f -name .cvsignore`
20 rm -f cvsbp-prepare