changeset 21060:31d41418fa57

build: Restore dependency of docs on example code. * doc/module.mk: Add dependencies for oop.texi and external.texi on $(examples_code_SRC). Remove $(examples_code_SRC) from octave_TEXINFOS declaration. Remove $(munge_texi_SOURCES) which no longer expands to anything.
author Rik <rik@octave.org>
date Wed, 13 Jan 2016 17:11:56 -0800
parents 73ab962bc52d
children 220506787b93
files doc/module.mk
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/doc/module.mk	Wed Jan 13 16:21:24 2016 -0800
+++ b/doc/module.mk	Wed Jan 13 17:11:56 2016 -0800
@@ -232,13 +232,8 @@
 info_TEXINFOS += \
   doc/interpreter/octave.texi
 
-## The $(examples_code_SRC) files are included here because
-## they are included in the manual via the @EXAMPLEFILE macro,
-## so they are dependencies for the documentation.
-
 octave_TEXINFOS = \
-  $(BUILT_OCTAVE_TEXI_SRC) \
-  $(examples_code_SRC)
+  $(BUILT_OCTAVE_TEXI_SRC)
 
 ## As of version 1.14.1, automake does not seem to generate
 ## rules for DVI, PDF, or HTML output that work for us when
@@ -341,7 +336,12 @@
 	$(top_builddir)/run-octave -f -q -H $(srcdir)/doc/interpreter/mk_doc_cache.m - $(srcdir)/doc/interpreter/macros.texi $(DOCSTRING_FILES) > $@-t && \
 	mv $@-t $@
 
-$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) $(munge_texi_SOURCES)
+$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES)
+
+## These two texi files have an additional dependency through the
+## @EXAMPLEFILE macro.
+doc/interpreter/oop.texi: $(examples_code_SRC)
+doc/interpreter/external.texi: $(examples_code_SRC)
 
 %.texi : %.txi doc/interpreter/munge-texi.pl | doc/interpreter/$(octave_dirstamp)
 	$(AM_V_GEN)rm -f $@-t $@ && \