r1984: *** empty log message ***
[ctsim.git] / cvsbp-prepare.sh
index 2c7a724df0cc1c6b6577ee4417ce1ccc5deace88..1769405b85f9c6cd66542a6cfb14eb116e6da2a1 100755 (executable)
@@ -5,18 +5,16 @@ set -e  # abort on error
 # Make documentation to put in debian package 
 # This must match prebuilt upstream documentation
 
-if [ -f doc/Makefile ]; then
+if [ -f make-doc.sh ]; then
   echo "Making upstream documentation for CVS checked-out package"
-  cd doc
-  make all
-  cd ..
+  ./make-doc.sh
 else
   echo "Unable to build documentation for CVS checked out package"
   exit 1
 fi
 
 # Clean checked out CVS directory
-rm -f upload.sh make-upstream.sh make-debian.sh make-doc.sh
+rm -f upload.sh make-upstream.sh make-debian.sh make-doc.sh do-autoconf cvsbp-prepare.sh
 rm -f `find . -type f -name .cvsignore`
 rm -rf images doc stamp-h.in build-stamp configure-stamp
 rm -f cvsbp-prepare.sh