Mercurial > hg > octave-avbm
comparison 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 |
comparison
equal
deleted
inserted
replaced
9925:955035efb929 | 9926:7ad553781c62 |
---|---|
167 DOCSTRING_FILES = $(shell $(srcdir)/find-docstring-files.sh "$(top_srcdir)") | 167 DOCSTRING_FILES = $(shell $(srcdir)/find-docstring-files.sh "$(top_srcdir)") |
168 | 168 |
169 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m | 169 doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m |
170 $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; } | 170 $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; } |
171 | 171 |
172 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT) | 172 $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi.cc |
173 | 173 |
174 munge-texi$(BUILD_EXEEXT): munge-texi.cc | 174 munge-texi$(BUILD_EXEEXT): munge-texi.cc |
175 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) | 175 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) |
176 | 176 |
177 .txi.texi: | 177 .txi.texi: |
178 @$(MAKE) $(AM_MAKEFLAGS) munge-texi$(BUILD_EXEEXT) | |
178 ./munge-texi $(top_srcdir) $(DOCSTRING_FILES) < $< > $@-t | 179 ./munge-texi $(top_srcdir) $(DOCSTRING_FILES) < $< > $@-t |
179 mv $@-t $@ | 180 mv $@-t $@ |
180 | 181 |
181 contributors.texi: contributors.in | 182 contributors.texi: contributors.in |
182 $(AWK) -f $(srcdir)/mkcontrib.awk $(srcdir)/contributors.in > $@-t | 183 $(AWK) -f $(srcdir)/mkcontrib.awk $(srcdir)/contributors.in > $@-t |