Mercurial > hg > octave-avbm
diff doc/interpreter/Makefile.am @ 9926:7ad553781c62
Set dependency of *.texi files on munge-texi source code rather than executable.
Prevents false rebuilds of documentation when .tar.gz file is unpacked on
a new host.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 06 Dec 2009 20:19:20 -0800 |
parents | a463aa0aa0ab |
children | 9d447ebfc961 |
line wrap: on
line diff
--- a/doc/interpreter/Makefile.am +++ b/doc/interpreter/Makefile.am @@ -169,12 +169,13 @@ doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; } -$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT) +$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi.cc munge-texi$(BUILD_EXEEXT): munge-texi.cc $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) .txi.texi: + @$(MAKE) $(AM_MAKEFLAGS) munge-texi$(BUILD_EXEEXT) ./munge-texi $(top_srcdir) $(DOCSTRING_FILES) < $< > $@-t mv $@-t $@