This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] Patch for: Re: Why don't we provide a default INSTALL_SCRIPT in gcc/Makefile.in?


Alexandre Oliva wrote:
> On Nov 27, 2001, "H . J . Lu" <hjl@lucon.org> wrote:
> > This patch
> > http://gcc.gnu.org/ml/gcc-bugs/2001-11/msg00221.html
> 
> > uses INSTALL_SCRIPT without providing a default. As the result, I
> > can no longer do
> 
> > # cd gcc
> > # make install
> 
> Hmm, indeed.
> 
> Would one of you please post a patch that copies the definition of:
> 
> INSTALL_SCRIPT = @INSTALL@
> 
> from the top-level Makefile.in into gcc/Makefile.in?

I just got bit by this same bug.  So, scratching this itch:

"cd gcc; make install" works now.  Previously it would break on gccbug.



Index: Makefile.in
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/gcc/Makefile.in,v
retrieving revision 1.796
diff -u -3 -r1.796 Makefile.in
--- Makefile.in 30 Nov 2001 04:38:41 -0000      1.796
+++ Makefile.in 3 Dec 2001 14:35:27 -0000
@@ -121,6 +121,7 @@
 # These permit overriding just for certain files.
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL@
 MAKEINFO = @MAKEINFO@
 MAKEINFOFLAGS =
 TEXI2DVI = texi2dvi



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