aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-01-25 09:08:43 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-01-26 05:30:50 -0800
commit8a782bbf707e19d2da2159781789c4e4491dcdd1 (patch)
tree7a344ef802481a26ac3bbafebc8fdaadf9030fe5 /bfd/doc
parentc804c6f98d342c3d46f73d7a7ec6229d5ab1c9f3 (diff)
downloadgdb-8a782bbf707e19d2da2159781789c4e4491dcdd1.zip
gdb-8a782bbf707e19d2da2159781789c4e4491dcdd1.tar.gz
gdb-8a782bbf707e19d2da2159781789c4e4491dcdd1.tar.bz2
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.
Diffstat (limited to 'bfd/doc')
-rw-r--r--bfd/doc/local.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/doc/local.mk b/bfd/doc/local.mk
index 9bf4815..931942f 100644
--- a/bfd/doc/local.mk
+++ b/bfd/doc/local.mk
@@ -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.