aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2025-01-23 20:16:09 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2025-01-23 20:16:09 +0100
commit19125d93aa693be8bd541470d65b7ea635b76af4 (patch)
treed7151cfb952917dc4617db72bed7069c68d2788e /bfd/ChangeLog
parentb132f2344c0b58938bd11806ae2dd174b1b023e4 (diff)
downloadbinutils-19125d93aa693be8bd541470d65b7ea635b76af4.zip
binutils-19125d93aa693be8bd541470d65b7ea635b76af4.tar.gz
binutils-19125d93aa693be8bd541470d65b7ea635b76af4.tar.bz2
bfd: fix generation of bfd.texi in out-of-tree builds
[In the sequel TS means $(top_srcdir) and TB means $(top_builddir)] The Texinfo file TS/bfd/doc/bfd.texi @includes many other .texi files such as: bfdt.texi bfdio.texi section.texi ... These .texi files are generated from the bfd/*.c source files, by a program called `chew' that is distributed along with BFD, via some default rules and macro magic in TS/bfd/doc/local.mk. Important point: the .texi files are generated in TB/bfd/doc/, not TS/bfd/doc. Now, AM_MAKEINFOFLAGS in local.mk is defined as: AM_MAKEINFOFLAGS = --no-split -I "$(srcdir)/%D%" -I %D% Where %D% is 'doc/' in this case. Now, it looks like the directory containing the .texi file is automatically inserted in the @include search path, so the -I %D% above places TB/bfd/doc _after_ TS/bfd/doc. Since currently TS/bfd/doc/bfdt.texi is outdated and is missing some nodes, the error above happens. This patch changes bfd/doc/local.mk to use -P to prepend the current build directory to the @include search path, rather than -I, which appends it. bfd/ChangeLog: 2025-01-23 Jose E. Marchesi <jose.marchesi@oracle.com> * doc/local.mk (AM_MAKEINFOFLAGS): Prepend the build directory to the @include search path. * Makefile.in: Regenerate.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index da27f8c..d8facc2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2025-01-23 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * doc/local.mk (AM_MAKEINFOFLAGS): Prepend the build directory to
+ the @include search path.
+ * Makefile.in: Regenerate.
+
2025-01-19 Nick Clifton <nickc@redhat.com>
* 2.44 Branch point.