X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdist.sh;h=27280f52a43886b5038e1dcb8b9d96ea84fc2ff1;hb=8e01210e8b9e3db2ec7bd004bf17dbaca1f69c83;hp=199ffaf72ac2d7e481658377612045dd0e504e2f;hpb=9e10bdb5a7a14e5fc51d9e39d33ea047a1226f14;p=ZOOM-Perl-moved-to-github.git 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