This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[RFA] Patch for: Re: Why don't we provide a default INSTALL_SCRIPT in gcc/Makefile.in?
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- To: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Dec 2001 09:43:24 -0500
- Subject: [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