This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] toplevel/Makefile.in: Let install depend on install-info
- From: DJ Delorie <dj at delorie dot com>
- To: hp at bitrange dot com
- Cc: gcc-patches at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Date: Tue, 1 Jan 2002 20:44:47 -0500
- Subject: Re: [RFA:] toplevel/Makefile.in: Let install depend on install-info
- References: <Pine.BSF.4.30.0201011850310.53841-100000@dair.pair.com>
> This isn't an automake issue as one might think, because
> subdirectories (such as gas/doc/Makefile.am) use the --cygnus
> automake option, which as one of its documented effects causes
> "install-info" to not be implied by "install".
Then the right solution is to fix the subdirectories, so that "make
install" there also installs info pages. Otherwise, even with your
patch they won't meed GNU standards. And if you do fix them, then
your patch shouldn't be needed.
I don't think the toplevel Makefile should be doing anything more
complicated than passing the given target down to the subdirectories
(aside from the complexity of doing the subdirectories in the right
order). If the user says "make install" then that's what ./Makefile
should do - invoke "make install" in all the subdirectories.
Plus, with your patch, any subdirectory that does it right is punished
by having to install the info files twice.