Makefile for creating dist tarball
authormyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 8 Jun 2005 11:04:47 +0000 (11:04 +0000)
committermyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 8 Jun 2005 11:04:47 +0000 (11:04 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@55 b513b33f-fedd-0310-b452-c3deb5f4c849

Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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 .