[RFA] Use VPATH to find info files for installation.

Eli Zaretskii eliz@delorie.com
Fri Jun 30 11:34:00 GMT 2000

> Date: Fri, 30 Jun 2000 10:33:04 -0400
> From: Chris Faylor <cgf@cygnus.com>
> How about this?
> cgf
> Fri Jun 30 10:26:38 2000  Christopher Faylor <cgf@cygnus.com>
> 	* Makefile.in (install-info): Find files to install via VPATH since 
> 	info files can be in either the source or the build directory.

This doesn't work for me if I run it from outside the GDB source tree
(even after I correct the typo spotted by Jimmy Guo).  I think that
you need to say "$(infodir)/`basename $$i`" instead of just
"$(infodir)/$$i", for it to work.  (Do GNU standards allow to rely on
`basename' being present? I don't remember.)

I'm still not sure we should go this way, since when GDB is
Automake-ified, these tricks will go away, as Automake produces the
code that you suggest to change.

More information about the Gdb-patches mailing list