aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-01-24 07:39:44 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-01-24 12:56:48 -0800
commit94fd627d46e7774e96a381cc9174cedcbf6e5577 (patch)
tree75da7eb2d4d131958269d341ae05d3f289eb341b /bfd/doc
parentfdf55097a38710ef3360860abb0201bec8ed5179 (diff)
downloadgdb-94fd627d46e7774e96a381cc9174cedcbf6e5577.zip
gdb-94fd627d46e7774e96a381cc9174cedcbf6e5577.tar.gz
gdb-94fd627d46e7774e96a381cc9174cedcbf6e5577.tar.bz2
bfd: Update doc/local.mk
PR binutils/28807 * Makefile.in: Regenerate. * doc/local.mk (AM_MAKEINFOFLAGS): Add -I "$(srcdir)/%D%" -I %D%. (TEXI2DVI): New. (%D%/bfd.texi): Removed. (doc/bfd/index.html): Remove -I$(srcdir). Replace bfd.texi with %D%/bfd.texi.
Diffstat (limited to 'bfd/doc')
-rw-r--r--bfd/doc/local.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/doc/local.mk b/bfd/doc/local.mk
index 6a9cceb..9bf4815 100644
--- a/bfd/doc/local.mk
+++ b/bfd/doc/local.mk
@@ -77,7 +77,8 @@ TEXIDIR = $(srcdir)/../texinfo/fsf
info_TEXINFOS = %D%/bfd.texi
%C%_bfd_TEXINFOS = $(DOCFILES) %D%/bfdsumm.texi
-AM_MAKEINFOFLAGS = --no-split
+AM_MAKEINFOFLAGS = --no-split -I "$(srcdir)/%D%" -I %D%
+TEXI2DVI = texi2dvi -I "$(srcdir)/%D%" -I %D%
MKDOC = %D%/chew$(EXEEXT_FOR_BUILD)
@@ -118,7 +119,7 @@ REGEN_TEXI = \
$(AM_V_GEN)$(REGEN_TEXI)
# Avoid the %.stamp generating a builddir/bfd.texi that overrides the srcdir/.
-%D%/bfd.texi %D%/bfd.stamp: %D%/$(am__dirstamp) ; $(AM_V_at)touch $@
+%D%/bfd.stamp: %D%/$(am__dirstamp) ; $(AM_V_at)touch $@
# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
# bfd.texi on an 8.3 filesystem.
@@ -148,6 +149,6 @@ MAINTAINERCLEANFILES += $(DOCFILES)
html-local: %D%/bfd/index.html
%D%/bfd/index.html: %D%/bfd.texi $(bfd_TEXINFOS) %D%/$(am__dirstamp)
$(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
- --split=node -I$(srcdir) -o %D%/bfd $(srcdir)/bfd.texi
+ --split=node -o %D%/bfd $(srcdir)/%D%/bfd.texi
MAINTAINERCLEANFILES += %D%/bfd.info