summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2015-04-03 17:55:54 +0200
committerJan Lehnardt <jan@apache.org>2015-06-24 23:06:45 +0200
commitcadd21ca09dede1b07dcb80e01a1fb93c1be4145 (patch)
treeb075f5074742ae11897d52199fcb579d1e68e51c
parent872b52f9c6aa70952f3db308a0c780cd89ceef24 (diff)
downloadcouchdb-cadd21ca09dede1b07dcb80e01a1fb93c1be4145.tar.gz
re-enable doc, create tarball
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4dab51a43..58aab4271 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