From 16499f18dcb690b046b1156f331d41acbc0a1cbe Mon Sep 17 00:00:00 2001 From: myon-guest Date: Wed, 8 Jun 2005 11:04:47 +0000 Subject: [PATCH] Makefile for creating dist tarball git-svn-id: svn://svn.debian.org/pgp-tools/trunk@55 b513b33f-fedd-0310-b452-c3deb5f4c849 --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile 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 . -- 2.39.5