From: Andrew Ruthven Date: Fri, 23 Nov 2007 01:21:11 +0000 (+1300) Subject: Run lintian and linda whenever I build .debs. X-Git-Tag: 0.5.1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee5ee95b313cfcae967ebbdf5dadb9b1b49f83c9;p=mythtv-status.git Run lintian and linda whenever I build .debs. --- diff --git a/Makefile b/Makefile index 4fc1fc5..c940a5a 100644 --- 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