On Mon, Jan 24, 2022 at 10:38 AM Tobias Burnus 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.