diff src/octave.mk @ 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 13be64f9f16d
children 0b21a39bc9d4
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)