couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [04/50] couchdb commit: updated refs/heads/developer-preview-2.0 to 2a31bca
Date Wed, 22 Jul 2015 05:29:21 GMT
re-enable doc, create tarball


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

Branch: refs/heads/developer-preview-2.0
Commit: cadd21ca09dede1b07dcb80e01a1fb93c1be4145
Parents: 872b52f
Author: Jan Lehnardt <jan@apache.org>
Authored: Fri Apr 3 17:55:54 2015 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Wed Jun 24 23:06:45 2015 +0200

----------------------------------------------------------------------
 Makefile | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/cadd21ca/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 4dab51a..58aab42 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ dist: all
 	@rm -rf rel/couchdb
 	@rebar generate
 	@cp -r share/www rel/couchdb/share/www
+	@cp -r share/docs rel/couchdb/share/docs
 
 # creates a source tarball
 release:
@@ -49,11 +50,15 @@ release:
 	# build fauxton
 	$(MAKE) fauxton
 	cp -r share/www apache-couchdb/share/
-	#
-	# # build docs
-	# cd src/docs; make
-	# mkdir apache-couchdb/share/docs
-	# cp -r src/docs/build/html apache-couchdb/share/docs/html
+
+	# build docs
+	cd src/docs; make
+	mkdir apache-couchdb/share/docs
+	cp -r src/docs/build/html apache-couchdb/share/docs/html
+
+	# Tar!
+	tar czf apache-couchdb.tar.gz apache-couchdb
+	echo "Done: apache-couchdb.tar.gz"
 
 distclean: clean
 	@rm install.mk
@@ -81,6 +86,9 @@ install: dist
 	@touch $(prefix)/var/log/couchdb.log
 	@chown $(user) $(prefix)/var/log/couchdb.log
 
+uninstall:
+	@rm -rf $(prefix)
+
 install.mk:
 # ignore install.mk missing if we are running
 # `make clean` without having run ./configure first


Mime
View raw message