[Pkg-privacy-commits] [msva-perl] 80/356: including debian packaging commands in Makefile for ease of use

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository msva-perl.

commit 77e041376e6a59ebb60a9808bf1c695786977c2a
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Tue Mar 9 02:16:47 2010 -0500

    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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git



More information about the Pkg-privacy-commits mailing list