[PATCH] bfd: Pass -Idoc to $(MAKEINFOHTML)

H.J. Lu hjl.tools@gmail.com
Mon Jan 24 15:42:34 GMT 2022


On Mon, Jan 24, 2022 at 7:01 AM Tobias Burnus <tobias@codesourcery.com> wrote:
>
> Hi H.J.,
>
> On 24.01.22 14:21, H.J. Lu wrote:
> > Works for me. Please do "git clone" again and do a clean build.
>
> Still fails. I wonder why it goes wrong. I think something like:
>
> --- a/bfd/Makefile.in
> +++ b/bfd/Makefile.in
> @@ -2526,7 +2526,7 @@ doc/bfdver.texi: $(srcdir)/Makefile.in
>   html-local: doc/bfd/index.html
>   doc/bfd/index.html: doc/bfd.texi $(bfd_TEXINFOS) doc/$(am__dirstamp)
>          $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
> -         --split=node -I$(srcdir) -o doc/bfd $(srcdir)/bfd.texi
> +         --split=node -I$(srcdir) -o doc/bfd $(srcdir)/doc/bfd.texi
>
>
> is needed - but I did not check why that went wrong in this generated file.
> And why it now is wrong - but seemingly did work on Friday.
>
>
> I build here with:
>
>    .../configure --prefix=... \
>     --build=x86_64-linux-gnu --target=x86_64-none-linux-gnu --host=x86_64-linux-gnu \
>     --with-static-standard-libraries --disable-gdb --disable-libdecnumber --disable-readline \
>     --disable-sim --disable-gdbserver --disable-nls \
>     --with-sysroot=... --enable-plugins
>
>    make prefix=... libdir=... htmldir=... install-html
>
> which fails with:
> makeinfo --split-size=5000000 --html --no-split  \
>    --split=node ...
> could not open  ...srdir.../bfd/bfd.texi: No such file or directory
> make: *** [Makefile:2528: doc/bfd/index.html] Error 1
>
>

Try this.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bfd-Pass-Idoc-to-MAKEINFOHTML.patch
Type: text/x-patch
Size: 1591 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20220124/d77dc3c7/attachment-0001.bin>


More information about the Binutils mailing list