This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

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


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 <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.)

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.

cgf

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