mkdist does not read debian/changelog anymore
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 8 Oct 2014 07:09:22 +0000 (09:09 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 8 Oct 2014 07:09:22 +0000 (09:09 +0200)
mkdist.sh

index bec7cbc..8ed8caa 100755 (executable)
--- a/mkdist.sh
+++ b/mkdist.sh
@@ -1,21 +1,11 @@
 #!/bin/sh
 set -x
-DEBCHANGELOG=debian/changelog
-
-l=`head -1 $DEBCHANGELOG`
-NAME=`echo $l|sed 's/ .*//g'`
-FULLVERSION=`echo $l|sed 's/.*(//g'|sed 's/).*//g'`
-DEBVERSION=`echo $FULLVERSION|sed 's/-.*//g'`
 . ./IDMETA
-if test "$DEBVERSION" != "$VERSION"; then
-    echo "WARNING: File VERSION and debian/changelog do not match"
-    sleep 2
-fi
 git log >ChangeLog
 git archive --format=tar --prefix=$NAME-$VERSION/ HEAD > $NAME-$VERSION.tar
 tar xf $NAME-$VERSION.tar
 cp ChangeLog $NAME-$VERSION
-cd  $NAME-$VERSION
+cd $NAME-$VERSION
 rm -fr debian
 cd ..
 tar cfz $NAME-$VERSION.tar.gz $NAME-$VERSION