From: Richard Stallman Date: Tue, 13 Oct 1992 07:27:14 +0000 (+0000) Subject: (install-fixincludes): Only delete an existing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f0a4b0a0334603fea39343cf95e2bb025a57e91;p=gcc.git (install-fixincludes): Only delete an existing syslimits.h if we install limits.h over it. From-SVN: r2425 --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 3c702bef8a3..6f1f3b4992f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1552,8 +1552,11 @@ install-fixincludes: install-headers rm -rf * # Install fixed copies of system files. $(srcdir)/$(FIXINCLUDES) $(libsubdir)/include /usr/include $(srcdir) - -rm -f $(libsubdir)/tmp/syslimits.h - -cd $(libsubdir)/include; if [ -f limits.h ]; then cp limits.h ../tmp/syslimits.h; else true; fi + -cd $(libsubdir)/include; \ + if [ -f limits.h ]; then \ + rm -f ../tmp/syslimits.h; \ + cp limits.h ../tmp/syslimits.h; \ + else true; fi # Bring back gcc's header files. cd $(libsubdir)/include; mv ../tmp/* .; rmdir ../tmp # Install the README