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.


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

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