From: myon-guest Date: Wed, 8 Jun 2005 11:04:47 +0000 (+0000) Subject: Makefile for creating dist tarball X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=16499f18dcb690b046b1156f331d41acbc0a1cbe;p=pgp-tools.git Makefile for creating dist tarball git-svn-id: svn://svn.debian.org/pgp-tools/trunk@55 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c5704e7 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs +VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/') +TGZ=../signing-party_$(VERSION).orig.tar.gz + +all: + for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir || exit 1 ; fi ; done + +clean: + for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir clean || exit 1 ; fi ; done + +dist: + [ ! -f $(TGZ) ] + tar cvz -f $(TGZ) --exclude .svn --exclude debian .