summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2015-12-24 13:02:54 +0100
committerJan Lehnardt <jan@apache.org>2015-12-24 13:03:05 +0100
commitc24daa8ae626410b29f8af62c3bb238d7c4fd739 (patch)
tree5df54e2cefd47659ae007206d814a9b3e2e1a561
parent55b0a42f43e7ff54f8ad8e7249e37748d046d6d2 (diff)
downloadcouchdb-c24daa8ae626410b29f8af62c3bb238d7c4fd739.tar.gz
do not build docs in release tarball
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ddda9f8f..ee744e89f 100644
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,11 @@ couch: config.erl
.PHONY: docs
# target: docs - Build documentation
+ifeq ($(IN_RELEASE), true)
+docs: share/docs/html
+else
docs: src/docs/build
-
+endif
.PHONY: fauxton
# target: fauxton - Build Fauxton web UI