X-Git-Url: https://git.sthu.org/?p=pgp-tools.git;a=blobdiff_plain;f=Makefile;h=d07ce6407ac51fe74eb2b223cdab26ab25c92ac5;hp=b7c5be15782f5772b41baa79ae05a9c083de6014;hb=HEAD;hpb=e621b3bf313b2037950acc1a2ed5b8c418154a81 diff --git a/Makefile b/Makefile index b7c5be1..d07ce64 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist gpgparticipants keylookup \ - sig2dot springgraph +DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist gpgparticipants keyanalyze keylookup \ + sig2dot springgraph gpgwrap gpgdir VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/') DEBVERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: (.*)/') TGZ=../signing-party_$(VERSION).orig.tar.gz @@ -15,10 +15,11 @@ clean: for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir clean || exit 1 ; fi ; done dist: + [ -d debian ] && fakeroot debian/rules clean [ ! -f $(TGZ) ] mkdir $(TGZ_DIR) for dir in $(DIRS) ; do cp -a $$dir $(TGZ_DIR); done - cp -a README TODO Makefile $(TGZ_DIR) + cp -a README Makefile $(TGZ_DIR) GZIP=--best tar cvz -f $(TGZ) --exclude .svn $(TGZ_DIR) rm -rf $(TGZ_DIR)