From: Daniel Kahn Gillmor Date: Tue, 9 Mar 2010 05:00:32 +0000 (-0500) Subject: updating git packaging info X-Git-Tag: msva-perl/0.1~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b6eca477d231ea3e56606cc92e2417684bbbe17c;p=monkeysphere-validation-agent.git updating git packaging info --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d116b0f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +.git* export-ignore +notes_from_whiteboard.txt export-ignore diff --git a/.gitignore b/.gitignore index b25c15b..e99aca2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *~ +msva-perl.1 diff --git a/Makefile b/Makefile index 3de8e7a..aad3464 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,18 @@ VERSION=`dpkg-parsechangelog -lChangelog | grep ^Version: | cut -f2 -d\ ` -../msva-perl_$(VERSION).orig.tar.gz: msva-perl msva.protocol.README COPYING - git archive --format tar -o $@ --prefix=msva-perl-$(VERSION)/ $< +all: msva-perl.1 -tarball: ../msva-perl_$(VERSION).orig.tar.gz +msva-perl.1: msva-perl + pod2man msva-perl msva-perl.1 + +tarball: msva-perl msva.protocol.README COPYING + git archive --format tar --prefix=msva-perl-$(VERSION)/ HEAD | gzip -n -9 > ../msva-perl_$(VERSION).orig.tar.gz debian-package: tarball git buildpackage -uc -us -.PHONY: tarball debian-package +clean: + rm -f msva-perl.1 + +.PHONY: tarball debian-package all clean