]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Different versions on different releases have different commits. Sigh.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sun, 9 Aug 2009 03:20:24 +0000 (15:20 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Sun, 9 Aug 2009 03:21:57 +0000 (15:21 +1200)
Makefile

index 621904ad43f031161ee1b0182276df74bf8dab96..100af2cf3cea2a3859d288b10e979c36fb7e5e24 100755 (executable)
--- 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