]> git.sthu.org Git - pgp-tools.git/blob - Makefile
do not continue after writing template config file
[pgp-tools.git] / Makefile
1 DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist
2 VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/')
3 TGZ=../signing-party_$(VERSION).orig.tar.gz
4 TGZ_DIR=signing-party-$(VERSION)
5
6 all:
7 for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir || exit 1 ; fi ; done
8
9 clean:
10 for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir clean || exit 1 ; fi ; done
11
12 dist:
13 [ ! -f $(TGZ) ]
14 mkdir $(TGZ_DIR)
15 for dir in $(DIRS) ; do cp -a $$dir $(TGZ_DIR); done
16 cp -a README TODO Makefile $(TGZ_DIR)
17 tar cvz -f $(TGZ) --exclude .svn $(TGZ_DIR)
18 rm -rf $(TGZ_DIR)