couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [02/39] couchdb commit: updated refs/heads/master to 9950caa
Date Wed, 10 Dec 2014 11:08:09 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/72cc66fe
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/72cc66fe
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/72cc66fe

Branch: refs/heads/master
Commit: 72cc66fe139fc149ced05b3911b8970d695e67a4
Parents: 78f367c
Author: Jan Lehnardt <jan@apache.org>
Authored: Fri Oct 10 21:08:11 2014 +0200
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Dec 10 14:07:01 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/72cc66fe/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 986d2dc..3d6ccbf 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 -q 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