aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/Makefile.in5
-rw-r--r--bfd/doc/local.mk5
2 files changed, 6 insertions, 4 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 5a9b32c..b8e5ea0 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -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.
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.