diff options
author | Richard Stallman <rms@gnu.org> | 1992-09-30 22:24:46 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-09-30 22:24:46 +0000 |
commit | b0375d839d178e3c350e85c4f39ca305de1b7dec (patch) | |
tree | 08487af675a6f9ea50bafb2f52b2a6ee1239ab0a | |
parent | 606f392077b7d648d9c53609422a0fa907e6e994 (diff) | |
download | gcc-b0375d839d178e3c350e85c4f39ca305de1b7dec.zip gcc-b0375d839d178e3c350e85c4f39ca305de1b7dec.tar.gz gcc-b0375d839d178e3c350e85c4f39ca305de1b7dec.tar.bz2 |
(install-fixincludes): rm syslimits.h before installing.
Install it with cp. Add an else-part to the if that installs it.
From-SVN: r2287
-rw-r--r-- | gcc/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 99a88c7..ebb61a1 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1522,7 +1522,8 @@ install-fixincludes: install-headers rm -rf * # Install fixed copies of system files. $(srcdir)/$(FIXINCLUDES) $(libsubdir)/include /usr/include $(srcdir) - -cd $(libsubdir)/include; if [ -f limits.h ]; then mv limits.h ../tmp/syslimits.h; fi + -rm -f $(libsubdir)/tmp/syslimits.h + -cd $(libsubdir)/include; if [ -f limits.h ]; then 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 |