From: Richard Kenner Date: Tue, 15 Mar 1994 12:53:28 +0000 (-0500) Subject: (stmp-fixproto): Add missing "-" in front of "if". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e5bea54683e79892a7ee623583a71612eda6341;p=gcc.git (stmp-fixproto): Add missing "-" in front of "if". (install-headers-tar, gcc.xtar): Use "-" in front of tar options. From-SVN: r6792 --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f75f64908e2..94918df219a 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1616,7 +1616,7 @@ fixhdr.ready: fix-header stmp-fixproto: fixhdr.ready fixproto stmp-headers @echo "Various warnings and error messages from fixproto are normal" -if [ -d include ] ; then true; else mkdir include; fi - if [ -f include/fixed ] ; then true; \ + -if [ -f include/fixed ] ; then true; \ else \ : This line works around a 'make' bug in BSDI 1.1.; \ CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ @@ -1935,7 +1935,7 @@ install-include-dir: install-dir # Install the include directory using tar. install-headers-tar: stmp-headers $(STMP_FIXPROTO) install-include-dir (cd include; \ - tar cf - .; exit 0) | (cd $(libsubdir)/include; tar $(TAROUTOPTS) - ) + tar -cf - .; exit 0) | (cd $(libsubdir)/include; tar $(TAROUTOPTS) - ) # /bin/sh on some systems returns the status of the first tar, # and that can lose with GNU tar which always writes a full block. # So use `exit 0' to ignore its exit status. @@ -2010,7 +2010,7 @@ gcc.xtar.gz: gcc.xtar #gcc-$(version).tar: gcc.xtar: distdir # Make the distribution. - tar chf gcc.xtar gcc-$(version) + tar -chf gcc.xtar gcc-$(version) distdir: doc $(srcdir)/INSTALL c-parse.y c-gperf.h objc-parse.y cp-parse.y \ c-parse.c cp-parse.c objc-parse.c cexp.c