From: Daniel Kahn Gillmor Date: Tue, 9 Mar 2010 07:16:47 +0000 (-0500) Subject: including debian packaging commands in Makefile for ease of use X-Git-Tag: msva-perl/0.2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77e041376e6a59ebb60a9808bf1c695786977c2a;p=monkeysphere-validation-agent.git including debian packaging commands in Makefile for ease of use --- diff --git a/Makefile b/Makefile index f97701f..e579757 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ # Licensed under GPL v3 or later VERSION=`dpkg-parsechangelog -lChangelog | grep ^Version: | cut -f2 -d\ ` +DEBIAN_VERSION=`dpkg-parsechangelog | grep ^Version: | cut -f2 -d\ ` all: msva-perl.1 @@ -21,4 +22,10 @@ tarball: msva-perl msva.protocol.README COPYING Makefile clean: rm -f msva-perl.1 -.PHONY: release tarball all clean +debian-package: + debuild -uc -us -i'^\.git|notes_from_whiteboard\.txt' + +debian-tag: + git tag -s debian/$(DEBIAN_VERSION) -m "tagging msva-perl debian packaging version $(DEBIAN_VERSION)" + +.PHONY: release tarball debian-package debian-tag all clean