From: Andrew Ruthven Date: Sun, 9 Aug 2009 03:20:24 +0000 (+1200) Subject: Different versions on different releases have different commits. Sigh. X-Git-Tag: debian-sid-0.9.2-2~12 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ed41e24d1641bd15b4ad2d7eb1125bc4924bf5;p=mythtv-status.git Different versions on different releases have different commits. Sigh. --- diff --git a/Makefile b/Makefile index 621904a..100af2c 100755 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ sponsor_keyid=19D03486 build=dpkg-buildpackage -rfakeroot -i'(.git|build|.gitignore|testing)*' -I.git -Ibuild -I.gitignore -Itesting -tc -k0C62B791 version=$(shell git-tag -l | grep '^[0-9]' | tail -1) -deb_version=$(shell git-tag -l | grep ^debian-[[:digit:]] | tail -1 | sed 's/debian-//') +deb_version=$(shell git-tag -l | grep ^debian-$(release)-[[:digit:]] | tail -1 | sed 's/debian-$(release)-//' | sed 's/@/~/') deb=$(package)_$(deb_version)_all.deb orig_tarball=../$(package)_$(version).orig.tar.gz