[Pkg-privacy-commits] [msva-perl] 172/356: generalize/shorten Makefile

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:53 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 d40907355185d54286284ec92eef608ea4830a20
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Sun Oct 17 20:35:10 2010 -0400

    generalize/shorten Makefile
---
 Makefile | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index ae753ce..788957e 100755
--- a/Makefile
+++ b/Makefile
@@ -8,19 +8,15 @@
 VERSION=`dpkg-parsechangelog -lChangelog | grep ^Version: | cut -f2 -d\ `
 DEBIAN_VERSION=`dpkg-parsechangelog | grep ^Version: | cut -f2 -d\ `
 
-all: msva-perl.1 msva-query-agent.1 msva-review-cert.1
+MANPAGES=msva-perl.1 msva-query-agent.1 msva-review-cert.1
 
-msva-perl.1: msva-perl
-	pod2man msva-perl msva-perl.1
+all: $(MANPAGES)
 
-msva-query-agent.1: msva-query-agent
-	pod2man msva-query-agent msva-query-agent.1
-
-msva-review-cert.1: msva-review-cert
-	pod2man msva-review-cert msva-review-cert.1
+%.1: %
+	pod2man $< $@
 
 clean: 
-	rm -f msva-perl.1 msva-query-agent.1 msva-review-cert.1
+	rm -f $(MANPAGES)
 
 debian-package:
 	git buildpackage -uc -us

-- 
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