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]

A Makefile.in patch


It fixed a VPATH bug.

-- 
H.J. Lu (hjl@gnu.org)
---
Sat Mar 13 15:15:56 1999  H.J. Lu  (hjl@gnu.org)

	* Makefile.in (install-cpp): Use $? instead of cpp.sh.

Index: Makefile.in
===================================================================
RCS file: /work/cvs/gnu/egcs/gcc/Makefile.in,v
retrieving revision 1.1.1.97
diff -u -r1.1.1.97 Makefile.in
--- Makefile.in	1999/03/13 20:32:08	1.1.1.97
+++ Makefile.in	1999/03/13 23:09:53
 install-cpp: cpp.sh
 	-rm -f $(bindir)/cpp
-	$(INSTALL_PROGRAM) -m 755 cpp.sh $(bindir)/cpp
+	$(INSTALL_PROGRAM) -m 755 $? $(bindir)/cpp
 	if [ x$(cpp_install_dir) != x ]; then \
 	  rm -f $(prefix)/$(cpp_install_dir)/cpp; \
-	  $(INSTALL_PROGRAM) -m 755 cpp.sh $(prefix)/$(cpp_install_dir)/cpp; \
+	  $(INSTALL_PROGRAM) -m 755 $? $(prefix)/$(cpp_install_dir)/cpp; \
 	else true; fi
 
 uninstall-cpp:


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