]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Add an upload target for uploading to Debian.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 28 Oct 2013 10:16:32 +0000 (23:16 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Mon, 28 Oct 2013 10:16:32 +0000 (23:16 +1300)
Makefile

index d46fa7b8fc38ff2a1101011df252faad385cebf2..cfaa7f2856479a8949583b44cef9617e4c6e6cde 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,8 @@ publish: $(RELEASE_FILES)
        @chmod o+r $(tarball_dir)/*-$(version).*
        @ln -sf `basename $(tarball)` $(tarball_dir)/$(package)-latest.tar.gz
 
+upload: $(RELEASE_FILES)
+       for release in $(releases); do cd build/$$release; dput $(package)_$(deb_version)*.changes; done
 
 test:
        PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE))" $(TEST_FILES)