From abbbf5d5dbb2306580ccfc3789146cc92038abff Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Fri, 15 Aug 2008 21:56:48 +0000 Subject: added distsign target git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@686384 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.am | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8b555ce2..251d8c47 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,19 +36,25 @@ README.gz: $(top_srcdir)/README THANKS.gz: $(top_srcdir)/THANKS -gzip -9 < $< > $@ +.PHONY: local-clean local-clean: maintainer-clean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may need special tools to rebuild." - rm -f INSTALL - rm -f acinclude.m4 - rm -f aclocal.m4 - rm -fr build-aux - rm -f config.h.in* - rm -f configure - rm -f configure~ - rm -f *.tar.gz - rm -f *.zip - rm -fr m4 - find . -name Makefile.in | xargs rm - -.PHONY: local-clean + -rm -f INSTALL + -rm -f acinclude.m4 + -rm -f aclocal.m4 + -rm -f config.h.in + -rm -f configure + -rm -f *.tar.gz + -rm -f *.tar.gz.asc + -rm -f *.tar.gz.md5 + -rm -f *.tar.gz.sha + -rm -fr build-aux + -rm -fr m4 + -find $(top_srcdir) -name Makefile.in | xargs rm + +.PHONY: distsign +distsign: distcheck + gpg --armor --detach-sig < $(distdir).tar.gz > $(distdir).tar.gz.asc + md5sum $(distdir).tar.gz > $(distdir).tar.gz.md5 + sha1sum $(distdir).tar.gz > $(distdir).tar.gz.sha -- cgit v1.2.3