You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2014/10/10 21:12:51 UTC

[37/37] couchdb commit: updated refs/heads/goodbye-futon to 4fa015a

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/4fa015a8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4fa015a8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4fa015a8

Branch: refs/heads/goodbye-futon
Commit: 4fa015a86109cf3b892ec581d0f2e66b22651cd0
Parents: cca309f
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Oct 10 21:08:11 2014 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Fri Oct 10 21:08:11 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4fa015a8/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