X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-upstream.sh;h=06f909da142da702c829a0128e067b73fd85c408;hb=bdd8c1a8287aec0c4538ad565e6f9e70c8f5ba2e;hp=7711c7c965865f0ae1262ef17784979cf8f6a9ad;hpb=21cd6d665b303f493eab5bb9d71e198d704e914d;p=clsql.git diff --git a/debian/make-upstream.sh b/debian/make-upstream.sh index 7711c7c..06f909d 100755 --- a/debian/make-upstream.sh +++ b/debian/make-upstream.sh @@ -20,7 +20,9 @@ if [ -z "${VERSION}" ]; then exit 1 fi +pushd ${WORK_DIR} > /dev/null cvs commit -m 'Auto commit for Debian build' +popd > /dev/null if [ -f ${PACKAGE_DIR}/${DEBPKG}_${VERSION}.orig.tar.gz ]; then echo "File ${PACKAGE_DIR}/${DEBPKG}_${VERSION}.orig.tar.gz already exists." @@ -42,6 +44,7 @@ cp -a ${WORK_DIR} ${DISTDIR} echo "Cleaning distribution directory ${DISTDIR}" cd ${DISTDIR} +make clean rm -f debian/upload.sh debian/make-debian.sh debian/make-upstream.sh debian/cvsbp-prepare.sh test-suite/test.config rm -f `find . -type f -name "*.so" -or -name "*.o"` rm -f `find . -type f -name .cvsignore`