]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Small cleanups to the "sponsor" target
authorFrancois Marier <francois@debian.org>
Fri, 16 Nov 2007 02:41:18 +0000 (15:41 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Fri, 16 Nov 2007 02:50:26 +0000 (15:50 +1300)
Makefile

index 8d636f4587a33f2aaa8eed080d624e08be336ad2..1001ba4d97ae573c64dc17512b05c6e3952f1bb1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,11 @@ all: release
 release: $(RELEASE_FILES)
 
 $(orig_tarball): $(tarball)
+       @rm -f $@
        @ln -s `basename \`pwd\``/$< $@
 
 sponsor: $(orig_tarball)
-       dpkg-buildpackage -rfakeroot -k$(sponsor_keyid) -i'($.git|$build)' -tc
+       dpkg-buildpackage -rfakeroot -k$(sponsor_keyid) -i'(.git|build|Makefile)' -tc
 
 $(tarball):
        @mkdir -p $(@D)