From 77e041376e6a59ebb60a9808bf1c695786977c2a Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 9 Mar 2010 02:16:47 -0500 Subject: [PATCH] including debian packaging commands in Makefile for ease of use --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.26.2