[PATCH v3] bfd: Update doc/local.mk
H.J. Lu
hjl.tools@gmail.com
Mon Jan 24 18:53:06 GMT 2022
On Mon, Jan 24, 2022 at 10:38 AM Tobias Burnus <tobias@codesourcery.com> wrote:
>
> Hi H.J.,
>
> that works – but not completely as texi2dvi itself does not get passed the -I path.
>
> Thus TEXI2PDF doc/bfd.pdf fails because:
> bfd/doc/bfd.texi:219: I can't find file `bfdt.texi'.
>
> l.219 @include bfdt.texi
>
>
>
> I wonder whether part of your changes could/should be replaced
> by the following, which mimics what binutils/doc/local.mk does:
>
> --- a/bfd/doc/local.mk
> +++ b/bfd/doc/local.mk
> @@ -80 +80,3 @@ info_TEXINFOS = %D%/bfd.texi
> -AM_MAKEINFOFLAGS = --no-split
> +AM_MAKEINFOFLAGS = -I "$(srcdir)/%D%" -I ../bfd/doc \
> + --no-split
> +TEXI2DVI = texi2dvi -I "$(srcdir)/%D%" -I ../bfd/doc
>
>
>
> At least it seems to work when manually adding '-I doc -I $(srcdir)/doc'
> to the 'doc/bfd.pdf' target's texi2pdf call.
>
> Seems as we are almost there and as if the rest seems to work :-)
>
Try this one.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0001-bfd-Update-doc-local.mk.patch
Type: text/x-patch
Size: 3475 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20220124/cdbf7ff7/attachment-0001.bin>
More information about the Binutils
mailing list