X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=make-dist.sh;h=fbad02e8fbebdd9c6d9cb99a799474898fae8b9f;hb=de8fba51c339518b79a06292eaef1d8cbb876fba;hp=306e79b08ff243699cdd534c43ecb91b38e9235a;hpb=8de1da92cf18dd5341b3472a192fe52d34ca465a;p=uffi.git diff --git a/make-dist.sh b/make-dist.sh index 306e79b..fbad02e 100755 --- a/make-dist.sh +++ b/make-dist.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash -x # Creates debian and system-independent archive files # Programmer: Kevin Rosenberg based on script used by onShore Development @@ -14,7 +14,7 @@ DISTDIR=${PKG}-${VERSION} DEBDIR=${DEBPKG}-${VERSION} TAG=upstream_version_`echo $VERSION | tr . _` -echo "(re)tagging with release tag '$TAG'" +#echo "(re)tagging with release tag '$TAG'" #cvs -q rtag -d $TAG $PKG #cvs -q tag -F $TAG @@ -27,9 +27,9 @@ rm -rf ${DISTDIR} ${DEBDIR} ${DISTDIR}.zip cp -a ${TOPDIR} ${DISTDIR} # Remove junk from distribution dir -find ${DISTDIR} -type f -name .cvsignore -exec rm {} \; -find ${DISTDIR} -type d -name CVS | xargs rm -r -find ${DISTDIR} -type f -name *~ -or -name \#* -or -name \#*\# |xargs rm -f +find ${DISTDIR} -type f -name .cvsignore -exec rm -f {} \; +find ${DISTDIR} -type d -name CVS | xargs rm -rf +find ${DISTDIR} -type f -name \*~ -or -name \#* -or -name \#*\# |xargs rm -f find ${DISTDIR}/doc -type f -name *.tex -or -name *.aux -or \ -name *.log -or -name *.out -or -name *.dvi | xargs rm -f