couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject couchdb commit: updated refs/heads/master to 9b7511a
Date Wed, 20 Jul 2016 20:20:03 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master b68e09439 -> 9b7511a84


feat: add `make rc` target. Requires `COUCH_RC` env var set to an int.

Example:

    ./configure
    COUCH_RC=2 make rc # produces `apache-couchdb-2.0.0-RC2.tar.gz

Extracts into a directory called `apache-couchdb-2.0.0-RC2`.

Set `COUCH_RC=3` for RC3 and so on.

Bails with an hopefully helpful error message if `COUCH_RC` is not set.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9b7511a8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9b7511a8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9b7511a8

Branch: refs/heads/master
Commit: 9b7511a84fe9f057454487f6e48fa33cd561efc1
Parents: b68e094
Author: Jan Lehnardt <jan@apache.org>
Authored: Wed Jul 20 22:16:37 2016 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Wed Jul 20 22:16:37 2016 +0200

----------------------------------------------------------------------
 Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9b7511a8/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 9948372..11b3267 100644
--- a/Makefile
+++ b/Makefile
@@ -331,6 +331,17 @@ uninstall:
 	@rm -rf $(DESTDIR)/$(man_dir)
 	@rm -rf $(DESTDIR)/$(info_dir)
 
+.PHONY: rc
+rc:
+ifeq ($(strip $(COUCH_RC)),)
+	@echo "COUCH_RC environment variable not set. Run as 'COUCH_RC=X make rc'"
+else
+	@rm -rf apache-couchdb-*
+	@$(MAKE) dist
+	@rm apache-couchdb-*.tar.gz
+	@mv apache-couchdb-* apache-couchdb-2.0.0-RC$(COUCH_RC)
+	@tar czf apache-couchdb-2.0.0-RC$(COUCH_RC).tar.gz apache-couchdb-2.0.0-RC$(COUCH_RC)
+endif
 
 ################################################################################
 # Misc


Mime
View raw message