From: Mike Taylor Date: Wed, 11 Aug 2010 11:19:50 +0000 (+0100) Subject: Replace local mkdist.sh with reference to global one. X-Git-Tag: v1.26 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=c726be37cde462c6e9ccd25b7c928342e388ceb7;p=ZOOM-Perl-moved-to-github.git Replace local mkdist.sh with reference to global one. --- diff --git a/mkdist.sh b/mkdist.sh index 199ffaf..27280f5 100755 --- a/mkdist.sh +++ b/mkdist.sh @@ -1,15 +1,3 @@ -# Creates a distribution tarball of the kind that Debian packages are -# made from. -DEBCHANGELOG=debian/changelog - -l=`head -1 $DEBCHANGELOG` -NAME=`echo $l|sed 's/ .*//g'` -FULLVERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'` -VERSION=`echo $FULLVERSION|sed 's/-.*//g'` - -git archive --format=tar --prefix=$NAME-$VERSION/ HEAD > $NAME-$VERSION.tar -tar xf $NAME-$VERSION.tar -rm -r $NAME-$VERSION/{debian,archive,modules} -tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION -rm $NAME-$VERSION.tar -rm -r $NAME-$VERSION +echo "Projects should no longer have their own mkdist.sh script" +echo "Use the generic one in git-tools/id-deb-build/mkdist.sh" +exit 1