From: Daniel Kahn Gillmor Date: Mon, 18 Oct 2010 00:35:10 +0000 (-0400) Subject: generalize/shorten Makefile X-Git-Tag: msva-perl_debian/0.6-1~3^2~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d40907355185d54286284ec92eef608ea4830a20;p=monkeysphere-validation-agent.git generalize/shorten Makefile --- 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