couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject git commit: updated refs/heads/1994-merge-rcouch to cc36274
Date Tue, 07 Jan 2014 22:14:16 GMT
Updated Branches:
  refs/heads/1994-merge-rcouch 94fe66123 -> cc362741e


add makefile

To build a full relocatable release, run:

$ make rel

and launch Apache CouchDB:

./rel/apache-couchdb console


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

Branch: refs/heads/1994-merge-rcouch
Commit: cc362741e25d68936c8bef4fed4873feb477942a
Parents: 94fe661
Author: Benoit Chesneau <benoitc@apache.org>
Authored: Tue Jan 7 23:11:36 2014 +0100
Committer: Benoit Chesneau <benoitc@apache.org>
Committed: Tue Jan 7 23:11:36 2014 +0100

----------------------------------------------------------------------
 .gitignore |  1 -
 Makefile   | 30 ++++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/cc362741/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3ceb52f..c508c28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,7 +15,6 @@
 *~
 .*
 INSTALL
-Makefile
 Makefile.in
 THANKS
 acinclude.m4

http://git-wip-us.apache.org/repos/asf/couchdb/blob/cc362741/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0c36ffc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,30 @@
+BASE_DIR = $(shell pwd)
+ERLANG_BIN = $(shell dirname $(shell which erl))
+REBAR ?= $(BASE_DIR)/rebar
+OVERLAY_VARS ?=
+
+$(if $(ERLANG_BIN),,$(warning "Warning: No Erlang found in your path, this will probably
not work"))
+
+.PHONY: rel deps
+
+all: deps compile
+
+compile:
+	./rebar compile
+
+deps:
+	./rebar get-deps
+
+clean:
+	./rebar clean
+
+distclean: clean relclean
+
+generate:
+	./rebar generate $(OVERLAY_VARS)
+
+rel: deps compile generate
+
+relclean:
+	rm -rf rel/apache-couchdb
+


Mime
View raw message