couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r686384 - /incubator/couchdb/trunk/Makefile.am
Date Fri, 15 Aug 2008 21:56:49 GMT
Author: nslater
Date: Fri Aug 15 14:56:48 2008
New Revision: 686384

URL: http://svn.apache.org/viewvc?rev=686384&view=rev
Log:
added distsign target

Modified:
    incubator/couchdb/trunk/Makefile.am

Modified: incubator/couchdb/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/Makefile.am?rev=686384&r1=686383&r2=686384&view=diff
==============================================================================
--- incubator/couchdb/trunk/Makefile.am (original)
+++ incubator/couchdb/trunk/Makefile.am Fri Aug 15 14:56:48 2008
@@ -36,19 +36,25 @@
 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
+	-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: local-clean
+.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



Mime
View raw message