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 d46fa7b..cfaa7f2 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)