# HG changeset patch # User Rik # Date 1452733916 28800 # Node ID 31d41418fa579872a7bf5ad82462a3fd076dd554 # Parent 73ab962bc52dcb091b2ad0ef058a816b95cdfc8f 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. diff -r 73ab962bc52d -r 31d41418fa57 doc/module.mk --- 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 $@ && \