]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Run lintian and linda whenever I build .debs. 0.5.1
authorAndrew Ruthven <andrew@etc.gen.nz>
Fri, 23 Nov 2007 01:21:11 +0000 (14:21 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Fri, 23 Nov 2007 01:21:11 +0000 (14:21 +1300)
Makefile

index 4fc1fc57ce3710338da1419a1315466c5a5831e1..c940a5a2a07729ddf9ed9ed70d9bc7895c360a17 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ package=mythtv-status
 releases=etch sid
 sponsor_keyid=19D03486
 
-build=dpkg-buildpackage -sn -uc -us -rfakeroot -i'(.git|build)'
+build=dpkg-buildpackage -sn -uc -us -rfakeroot -i'(.git|build|.gitignore)*' -I.git -Ibuild -I.gitignore
 version=$(shell git-tag -l | tail -1)
 
 deb=$(package)_$(version)-1_all.deb
@@ -33,11 +33,15 @@ $(tarball):
 
 build/etch/$(deb): 
        @ssh build-etch-i386 "cd `pwd`; $(build)"
+       @ssh build-etch-i386 "cd `pwd`/..; /usr/bin/lintian -i $(package)_$(version)*.changes"
+       @ssh build-etch-i386 "cd `pwd`/..; /usr/bin/linda -i $(package)_$(version)*.changes"
        @mkdir -p build/etch
        @mv ../$(deb) build/etch
 
 build/sid/$(deb): 
        @ssh build-sid-i386 "cd `pwd`; $(build)"
+       @ssh build-sid-i386 "cd `pwd`/..; /usr/bin/lintian -i $(package)_$(version)*.changes"
+       @ssh build-sid-i386 "cd `pwd`/..; /usr/bin/linda -i $(package)_$(version)*.changes"
        @mkdir -p build/sid
        @mv ../$(deb) build/sid