Mercurial > octave-nkf
diff libinterp/module.mk @ 20428:0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
* doc/module.mk: Make generated files depend on $(DOCSTRING_FILES) again.
(DOCSTRING_FILES) Delete, initialized elsewhere now.
(DOCSTRING_DEPS) Delete, no longer used.
* Makefile.am (DOCSTRING_FILES): Initialize to empty.
* libinterp/module.mk (DOCSTRING_FILES): Include libinterp/DOCSTRINGS in
the list. (libinterp/DOCSTRINGS): New target with an order-only dependency
on libinterp/.DOCSTRINGS.
* scripts/module.mk (DOCSTRING_FILES): Include scripts/DOCSTRINGS in the
list. (scripts/DOCSTRINGS): New target with an order-only dependency on
scripts/.DOCSTRINGS.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Sat, 25 Jul 2015 14:55:03 -0400 |
parents | 3c70050faa1e |
children | 4300fe896004 |
line wrap: on
line diff
--- a/libinterp/module.mk Fri Jul 24 19:58:18 2015 -0400 +++ b/libinterp/module.mk Sat Jul 25 14:55:03 2015 -0400 @@ -295,6 +295,10 @@ if AMCOND_BUILD_DOCS +DOCSTRING_FILES += libinterp/DOCSTRINGS + +libinterp/DOCSTRINGS: | libinterp/.DOCSTRINGS + libinterp/.DOCSTRINGS: $(ALL_DEF_FILES) libinterp/gendoc.pl $(AM_V_GEN)rm -f $@-t $@ && \ if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/libinterp/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \