Re: [patch] make info out-of-src-tree regression on --with-system-readline

Jan Kratochvil
2011-01-01T10:51:29Z

On Sat, 01 Jan 2011 10:36:47 +0100, Eli Zaretskii wrote:
> > The change below is not needed for texi2dvi. In fact it even breaks it.
>
> Can't you repair it by a suitable setting of TEXINPUTS?

It does not work for me for makeinfo as tested now.

> What are the problems with not distributing it in the tarball, again?

If you can test it then it would be great. My attempt with `-f src-release'
failed. I did not try hard.

Still I would find it fragile to generate file in . and search for it first in
$(srcdir).

> > gdb.info: ${GDB_DOC_FILES}
> > $(MAKEINFO) $(READLINE_TEXI_INCFLAG) -I ${GDBMI_DIR} -I $(srcdir) \
> > - -o gdb.info $(srcdir)/gdb.texinfo
> > + -o gdb.info gdb.texinfo
>
> If we put "-I ." _before_ "-I $(srcdir)", doesn't it solve the issue
> more nicely?

I tried first but it does not work. I did not check the makeinfo sources but
still GDB should probably workaround it even if it is a makeinfo bug.

Thanks,
Jan