X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-upstream.sh;h=8cc553168d255b192f7a7a07b477ab15c8885327;hb=13ecf79da1a026af9504ef65eb9bd9be5e64431a;hp=ca36845277eede52d23e62a69ab8947b55236a96;hpb=aecee14abac427c3fe2625516da49eaa2bf40503;p=ctsim.git diff --git a/debian/make-upstream.sh b/debian/make-upstream.sh index ca36845..8cc5531 100755 --- a/debian/make-upstream.sh +++ b/debian/make-upstream.sh @@ -33,12 +33,12 @@ if [ -f ${PACKAGE_DIR}/${DEBPKG}_${VERSION}.orig.tar.gz ]; then fi -if [ ! -f docs/${PKG}.htb -o ! -f docs/html/${PKG}_contents.html -o ! -f docs/${PKG}.pdf ]; then - echo "Making documentation" - ${WORK_DIR}/make-doc.sh -fi +echo "Making documentation" +cd ${WORK_DIR}/doc +make -# Prepare for archive +echo "Copying archive" +cd ${WORK_HOME} rm -f ${PKG}_${VERSION}.tar.gz ${DEBPKG}_${VERSION}.orig.tar.gz rm -rf ${DISTDIR} ${DEBDIR} ${DISTDIR}.zip cp -a ${WORK_DIR} ${DISTDIR} @@ -46,7 +46,6 @@ cp -a ${WORK_DIR} ${DISTDIR} echo "Cleaning distribution directory ${DISTDIR}" cd ${DISTDIR} make distclean -rm -f make-doc.sh rm -f `find . -type f -name .cvsignore` rm -rf `find . -type d -name CVS -or -name .deps` rm -f `find . -type f -name '*~' -or -name '.#*' -or -name '#*#' -or -name ".*~" -or -name "*.o" -or -name "*.a"`