[RFA] Use VPATH to find info files for installation.
Fri Jun 30 11:46:00 GMT 2000
On Fri, Jun 30, 2000 at 02:34:38PM -0400, Eli Zaretskii wrote:
>> Date: Fri, 30 Jun 2000 10:33:04 -0400
>> From: Chris Faylor <firstname.lastname@example.org>
>> How about this?
>> Fri Jun 30 10:26:38 2000 Christopher Faylor <email@example.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.)
Actually, removing the /$$i should work.
>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.
There is no reason that these methods couldn't be used in a Makefile.am,
however, I would be satisfied with any solution which allows "make
install-info" to work for me again.
More information about the Gdb-patches