changeset 16054:c5b4b9507a55 stable

Fix building when --disable-docs argument given. * scripts/Makefile.am: use AMCOND_BUILD_DOCS to decide whether to build .DOCSTRINGS
author Rik <rik@octave.org>
date Wed, 13 Feb 2013 12:45:31 -0800
parents 1678d0fca146
children 5306e943ce74 6a44bb3c9593
files scripts/Makefile.am
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/Makefile.am	Mon Feb 11 13:26:44 2013 -0500
+++ b/scripts/Makefile.am	Wed Feb 13 12:45:31 2013 -0800
@@ -74,7 +74,11 @@
 
 FCN_FILES_IN = $(GEN_FCN_FILES:.m=.in)
 
+if AMCOND_BUILD_DOCS
 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES) .DOCSTRINGS
+else
+all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES)
+endif
 
 octave_dirstamp = $(am__leading_dot)dirstamp