couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [37/38] couchdb commit: updated refs/heads/goodbye-futon to 263182c
Date Sat, 11 Oct 2014 13:39:29 GMT
Add Fauxton build process to Makefile

`make` alone now builds Fauxton along with the rest.

`make fauxton` to only do the fauxton build.

`make distclean` cleans the Fauxton build.

Fauxton is deployed into share/www. `make distclean` simply removes
share/www.

If share/www exists, `make [fauxton]` skips building Fauxton.

Includes a letter for Noah ;)


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

Branch: refs/heads/goodbye-futon
Commit: ad6e567333651913dbb199de0265b10a2482766b
Parents: b9e6fe7
Author: Jan Lehnardt <jan@apache.org>
Authored: Fri Oct 10 21:08:11 2014 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Oct 11 15:26:35 2014 +0200

----------------------------------------------------------------------
 Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ad6e5673/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index e881f61..83cad0b 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ config.erl:
 	@echo
 	@false
 
-compile: config.erl
+compile: config.erl fauxton
 	@rebar compile
 	@cp src/couch/priv/couchjs bin/
 
@@ -34,6 +34,7 @@ dist: compile
 
 distclean: clean
 	@rm -rf rel/couchdb
+	@rm -rf share/www
 
 devclean:
 	@rm -rf dev/lib/*/data
@@ -69,3 +70,7 @@ eunit: compile
 
 javascript: compile
 	@dev/run test/javascript/run
+
+fauxton:
+# This next line so Noah throws his arms up in dispair and teaches me proper Make again --
Love, Jan
+	@if [ ! -d share/www ]; then echo "Building Fauxton" &&  cd src/fauxton &&
npm install && grunt couchdb; fi


Mime
View raw message