bfd: Make bfd.stamp depend on source bfd.texi

Make bfd.stamp depend on source bfd.texi to avoid regenerating
doc/bfd.info for each make run.

	PR binutils/28807
	* Makefile.in: Regenerate.
	* doc/local.mk (%D%/bfd.stamp): Depend on $(srcdir)/%D%/bfd.texi.
This commit is contained in:
H.J. Lu 2022-01-25 09:08:43 -08:00
parent c804c6f98d
commit 8a782bbf70
2 changed files with 6 additions and 4 deletions

View File

@ -2504,8 +2504,9 @@ doc/%.stamp: $(srcdir)/%.h $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp)
doc/%.stamp: $(srcdir)/%.c $(srcdir)/doc/doc.str $(MKDOC) doc/$(am__dirstamp)
$(AM_V_GEN)$(REGEN_TEXI)
# Avoid the %.stamp generating a builddir/bfd.texi that overrides the srcdir/.
doc/bfd.stamp: doc/$(am__dirstamp) ; $(AM_V_at)touch $@
# Avoid the %.stamp generating a builddir/bfd.texi that overrides the
# srcdir/ as well as regenerating doc/bfd.info for each make run.
doc/bfd.stamp: $(srcdir)/doc/bfd.texi ; $(AM_V_at)touch $@
# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
# bfd.texi on an 8.3 filesystem.

View File

@ -118,8 +118,9 @@ REGEN_TEXI = \
%D%/%.stamp: $(srcdir)/%.c $(srcdir)/%D%/doc.str $(MKDOC) %D%/$(am__dirstamp)
$(AM_V_GEN)$(REGEN_TEXI)
# Avoid the %.stamp generating a builddir/bfd.texi that overrides the srcdir/.
%D%/bfd.stamp: %D%/$(am__dirstamp) ; $(AM_V_at)touch $@
# Avoid the %.stamp generating a builddir/bfd.texi that overrides the
# srcdir/ as well as regenerating doc/bfd.info for each make run.
%D%/bfd.stamp: $(srcdir)/%D%/bfd.texi ; $(AM_V_at)touch $@
# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
# bfd.texi on an 8.3 filesystem.