changeset 3497:ddaf87b79532

pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
author John W. Eaton <jwe@octave.org>
date Mon, 03 Feb 2014 18:20:29 -0500
parents 3c7b3646d0b3
children 0b21a39bc9d4
files src/octave.mk src/stable-octave.mk
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/octave.mk	Mon Feb 03 18:16:02 2014 -0500
+++ b/src/octave.mk	Mon Feb 03 18:20:29 2014 -0500
@@ -31,8 +31,8 @@
   endif
 endif
 
-ifeq ($(ENABLE_DOCS),yes)
-  $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --enable-docs
+ifneq ($(ENABLE_DOCS),yes)
+  $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs
 endif
 
 ifeq ($(ENABLE_OPENBLAS),yes)
--- a/src/stable-octave.mk	Mon Feb 03 18:16:02 2014 -0500
+++ b/src/stable-octave.mk	Mon Feb 03 18:20:29 2014 -0500
@@ -31,8 +31,8 @@
   endif
 endif
 
-ifeq ($(ENABLE_DOCS),yes)
-  $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --enable-docs
+ifneq ($(ENABLE_DOCS),yes)
+  $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs
 endif
 
 ifeq ($(ENABLE_OPENBLAS),yes)