]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Change the makefile to work my new local .deb tags. debian-0.8.1-1
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 19 Jun 2008 01:20:05 +0000 (13:20 +1200)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Thu, 19 Jun 2008 01:20:05 +0000 (13:20 +1200)
Makefile

index c5d043f3ee57bc26cf636ab6ebea8905d9946076..4feb77b2ef3fe64a37a7a8bff47eea47bbb2d382 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ 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_version=$(shell git-tag -l | grep ^debian-[[:digit:]] | tail -1 | sed 's/debian-//')
 
 deb=$(package)_$(deb_version)_all.deb
 orig_tarball=../$(package)_$(version).orig.tar.gz
@@ -33,6 +33,7 @@ $(tarball):
        @git-archive --format=tar --prefix=$(package)-$(version)/ $(version) `git-ls-tree --name-only $(version) | egrep -v "(.gitignore|debian|Makefile|testing)"` | gzip > $(tarball)
 
 build/etch/$(deb): 
+       @echo Building Etch
        @ssh build-etch-i386 "cd `pwd`; DH_COMPAT=5 $(build) -d"
        @ssh build-etch-i386 "cd `pwd`/..; /usr/bin/lintian -i -I $(package)_$(version)*.changes" || true
        @ssh build-etch-i386 "cd `pwd`/..; /usr/bin/linda -i $(package)_$(version)*.changes" || true
@@ -40,6 +41,7 @@ build/etch/$(deb):
        @cp ../$(deb) build/etch
 
 build/sid/$(deb): 
+       @echo Building Sid
        @ssh build-sid-i386 "cd `pwd`; $(build)"
        @ssh build-sid-i386 "cd `pwd`/..; /usr/bin/lintian -i -I $(package)_$(version)*.changes" || true
        @ssh build-sid-i386 "cd `pwd`/..; /usr/bin/linda -i $(package)_$(version)*.changes" || true