From: Mike Stump Date: Fri, 8 Dec 2000 23:18:00 +0000 (+0000) Subject: Add - before rms to be more portable. X-Git-Tag: prereleases/libstdc++-2.92~2356 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;ds=sidebyside;h=5a2eb52b169fea7dd6062142867f2510b1c16a65;hp=17db658241d18cf6db59d31bc2d6eac96e9257df;p=gcc.git Add - before rms to be more portable. From-SVN: r38142 --- diff --git a/Makefile.in b/Makefile.in index 7f11e59cd6c3..93cf3f961971 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1025,8 +1025,8 @@ local-distclean: -if [ "$(TARGET_SUBDIR)" != "." ]; then \ rm -rf $(TARGET_SUBDIR); \ else true; fi - rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile - rm -f texinfo/doc/Makefile texinfo/po/POTFILES + -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile + -rm -f texinfo/doc/Makefile texinfo/po/POTFILES -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null -rmdir gcc libiberty texinfo zlib 2>/dev/null diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 238902b274fa..0eab5a6c1412 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -146,7 +146,7 @@ REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o cp-demangle.o \ xstrdup.o xstrerror.o $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA) - rm -f $(TARGETLIB) + -rm -f $(TARGETLIB) $(AR) $(AR_FLAGS) $(TARGETLIB) \ $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA) $(RANLIB) $(TARGETLIB) @@ -214,19 +214,19 @@ ls: # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS # multiple times, hence our explicit recursion with an empty SUBDIRS. mostlyclean: mostlyclean-subdir - rm -rf *.o pic core errs \#* *.E a.out - rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-* - rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir + -rm -rf *.o pic core errs \#* *.E a.out + -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-* + -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir @$(MULTICLEAN) multi-clean DO=mostlyclean clean: clean-subdir $(MAKE) SUBDIRS="" mostlyclean - rm -f *.a required-list tmpmulti.out + -rm -f *.a required-list tmpmulti.out @$(MULTICLEAN) multi-clean DO=clean distclean: distclean-subdir $(MAKE) SUBDIRS="" clean @$(MULTICLEAN) multi-clean DO=distclean - rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out - rm -f config.log + -rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out + -rm -f config.log -rmdir testsuite 2>/dev/null maintainer-clean realclean: maintainer-clean-subdir $(MAKE) SUBDIRS="" distclean