projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1963: *** empty log message ***
[uffi.git]
/
cvsbp-prepare
diff --git
a/cvsbp-prepare
b/cvsbp-prepare
index 4c327702094b2bbc48a4f7a264a465fb902d76f4..c4f321ac27e2f86c4490490ad5dca25a31f97738 100755
(executable)
--- a/
cvsbp-prepare
+++ b/
cvsbp-prepare
@@
-1,26
+1,15
@@
#!/bin/bash
#!/bin/bash
-# Try to copy documentation from Work dir
-CWD=`pwd`
-BASENAME=`basename ${CWD}`
-BASEDIR=`echo ${BASENAME} | sed -n 's/-[0-9].*$//p'`
-DOCDIR=/usr/local/src/Work/${BASEDIR}/doc
+# Make documentation to put in debian package
+# This must match prebuilt upstream documentation
-if [ -d ${DOCDIR} -a -d doc ]; then
- echo "Copying documentation"
- cp -a ${DOCDIR}/html ${DOCDIR}/*.pdf doc/.
-else
- echo "Unable to find documentation directory"
+if [ -d doc/Makefile ]; then
+ cd doc
+ make all
+ cd ..
fi
# Clean checked out CVS directory
fi
# Clean checked out CVS directory
-rm -f upload.sh make-dist.sh make-doc.sh
cvsbp-prepare
+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 `find . -type f -name .cvsignore`
-
-# Try to build documentation
-# Not used because PDF created at difference times or places will not match
-#if [ -f doc/Makefile ]; then
-# pushd doc > /dev/null
-# make
-# popd > /dev/null
-#fi
+rm -f cvsbp-prepare