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/11 15:39:29 UTC
[37/38] couchdb commit: updated refs/heads/goodbye-futon to 263182c
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 <ja...@apache.org>
Authored: Fri Oct 10 21:08:11 2014 +0200
Committer: Jan Lehnardt <ja...@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