]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Allow building Debian point releases. release-0.7 origin/release-0.7
authorAndrew Ruthven <andrew@etc.gen.nz>
Wed, 9 Apr 2008 23:34:43 +0000 (11:34 +1200)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Wed, 9 Apr 2008 23:34:43 +0000 (11:34 +1200)
Makefile

index b561d5d3e6d18d611c441709fcd2490a17566cc7..c5d043f3ee57bc26cf636ab6ebea8905d9946076 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,9 @@ sponsor_keyid=19D03486
 
 build=dpkg-buildpackage -sn -uc -us -rfakeroot -i'(.git|build|.gitignore|testing)*' -I.git -Ibuild -I.gitignore -Itesting
 version=$(shell git-tag -l | grep -v ^debian | tail -1)
+deb_version=$(shell git-tag -l | grep ^debian | tail -1 | sed 's/debian-//')
 
-deb=$(package)_$(version)-*_all.deb
+deb=$(package)_$(deb_version)_all.deb
 orig_tarball=../$(package)_$(version).orig.tar.gz
 tarball=build/tarball/$(package)-$(version).tar.gz
 tarball_dir=../$(package)_tarballs