couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject git commit: Added --disable-docs for our friendly neighbourhood Jan
Date Sat, 01 Dec 2012 20:01:31 GMT
Updated Branches:
  refs/heads/docs 4cde822f8 -> c922d6e48


Added --disable-docs for our friendly neighbourhood Jan


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

Branch: refs/heads/docs
Commit: c922d6e48094339d6cf5143f46b1dc62a230433f
Parents: 4cde822
Author: Noah Slater <nslater@apache.org>
Authored: Sat Dec 1 20:01:27 2012 +0000
Committer: Noah Slater <nslater@apache.org>
Committed: Sat Dec 1 20:01:27 2012 +0000

----------------------------------------------------------------------
 configure.ac |   31 ++++++++++++++++++++-----------
 1 files changed, 20 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/c922d6e4/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index f79367e..44e45ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -470,6 +470,7 @@ use_init=yes
 use_launchd=yes
 native_mochijson_enabled=no
 tests_enabled=yes
+docs_enabled=yes
 strictness_enabled=no
 
 AC_ARG_ENABLE([init], 
@@ -500,6 +501,13 @@ AC_ARG_ENABLE([tests],
     tests_enabled=$enableval
 ], [])
 
+AC_ARG_ENABLE([docs], 
+    [AS_HELP_STRING([--disable-docs],
+        [skip docs during build])
+], [
+    docs_enabled=$enableval
+], [])
+
 AC_ARG_ENABLE([strictness],
     [AS_HELP_STRING([--enable-strictness],
         [exit when optional checks fail])
@@ -595,17 +603,18 @@ if test x${HAS_SPHINX_BUILD} = x; then
     fi
 fi
 
-if test x${HAS_HELP2MAN} = xyes; then
-    build_man=yes
-fi
-
-if test x${HAS_SPHINX_BUILD} = xyes; then
-    build_html=yes
-    if test x${HAS_MAKEINFO} = xyes; then
-        build_info=yes
-    fi    
-    if test x${HAS_PDFLATEX} = xyes; then
-        build_pdf=yes
+if test x${docs_enabled} = xyes; then
+    if test x${HAS_HELP2MAN} = xyes; then
+        build_man=yes
+    fi
+    if test x${HAS_SPHINX_BUILD} = xyes; then
+        build_html=yes
+        if test x${HAS_MAKEINFO} = xyes; then
+            build_info=yes
+        fi    
+        if test x${HAS_PDFLATEX} = xyes; then
+            build_pdf=yes
+        fi
     fi
 fi
 


Mime
View raw message