Permalink
Browse files

added distsign target

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@686384 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent a959bb0 commit abbbf5d5dbb2306580ccfc3789146cc92038abff @nslater nslater committed Aug 15, 2008
Showing with 19 additions and 13 deletions.
  1. +19 −13 Makefile.am
View
@@ -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

0 comments on commit abbbf5d

Please sign in to comment.