From b6eca477d231ea3e56606cc92e2417684bbbe17c Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 9 Mar 2010 00:00:32 -0500 Subject: [PATCH] updating git packaging info --- .gitattributes | 2 ++ .gitignore | 1 + Makefile | 14 ++++++++++---- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .gitattributes 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 -- 2.26.2