[patch] for gcc-2.95.x branch: use cp, not $(CP)

Michael Sokolov msokolov@ivan.Harhan.ORG
Tue Aug 1 09:18:00 GMT 2000


Hi there,

Here is yet another patch for the gcc-2.95.x branch, hopefully the last.
fixinc/Makefile.in uses $(CP). Dunno about others, but on my system there is no
such animal (and I was using GNU make). Everywhere else in gcc plain cp is
used. The patch below fixes it.

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

2000-08-01  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

	* fixinc/Makefile.in (fixincl.x, inclhack.sh, fixincl.sh): Replace
	$(CP) with cp.

Index: fixinc/Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/fixinc/Makefile.in,v
retrieving revision 1.6.4.2
diff -c -r1.6.4.2 Makefile.in
*** Makefile.in	1999/06/21 05:20:58	1.6.4.2
--- Makefile.in	2000/08/01 15:25:45
***************
*** 95,101 ****
  			$(srcdir)/inclhack.def ; \
  	else echo You need to install autogen ; \
  		if [ `pwd` != `cd $(srcdir) ; pwd` ] ; then \
! 			$(CP) $(srcdir)/$@ . ; \
  		else touch $@ ; fi ; fi
  
  inclhack.sh: inclhack.def inclhack.tpl hackshell.tpl
--- 95,101 ----
  			$(srcdir)/inclhack.def ; \
  	else echo You need to install autogen ; \
  		if [ `pwd` != `cd $(srcdir) ; pwd` ] ; then \
! 			cp $(srcdir)/$@ . ; \
  		else touch $@ ; fi ; fi
  
  inclhack.sh: inclhack.def inclhack.tpl hackshell.tpl
***************
*** 104,110 ****
  		autogen -L$(srcdir) $(srcdir)/inclhack.def ; \
  	else echo You need to install autogen ; \
  		if [ `pwd` != `cd $(srcdir) ; pwd` ] ; then \
! 			$(CP) $(srcdir)/$@ . ; \
  		else touch $@ ; fi ; fi
  
  fixincl.sh: inclhack.def inclhack.tpl
--- 104,110 ----
  		autogen -L$(srcdir) $(srcdir)/inclhack.def ; \
  	else echo You need to install autogen ; \
  		if [ `pwd` != `cd $(srcdir) ; pwd` ] ; then \
! 			cp $(srcdir)/$@ . ; \
  		else touch $@ ; fi ; fi
  
  fixincl.sh: inclhack.def inclhack.tpl
***************
*** 114,120 ****
  			$(srcdir)/inclhack.def ; touch $@ ; \
  	else echo You need to install autogen ; \
  		if [ `pwd` != `cd $(srcdir) ; pwd` ] ; then \
! 			$(CP) $(srcdir)/$@ . ; \
  		else touch $@ ; fi ; fi
  
  clean:
--- 114,120 ----
  			$(srcdir)/inclhack.def ; touch $@ ; \
  	else echo You need to install autogen ; \
  		if [ `pwd` != `cd $(srcdir) ; pwd` ] ; then \
! 			cp $(srcdir)/$@ . ; \
  		else touch $@ ; fi ; fi
  
  clean:


More information about the Gcc-patches mailing list