This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Date: Sat, 1 Jan 2011 09:08:48 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Tom Tromey <tromey@redhat.com>
> 
> On Sat, 01 Jan 2011 02:13:24 +0100, Jan Kratochvil wrote:
> > Another issue is that GDBvn.texi and gdb-cfg.texi should not be distributed.
> > But that bug is a different one on top of this bug.  That bug of a needless
> > files distribution is dependent on magic GDB `make dist' I do not know and
> > also that dist bug is not serious enough.
> 
> This part has a real consequence - the previous patch does not apply for build
> trees out of the src tree.  It may be even a makeinfo bug.
> 
> 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?

> Another possibility is to error out if $(srcdir)/GDBvn.texi exists so that no
> disambiguities may exist.  GDBvn.texi would have to be removed from the
> distributed tars.

What are the problems with not distributing it in the tarball, again?
(I take back my questions in the previous mail.)

>  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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]