aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rw-r--r--common.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index afc7bc494b..d3bbfd98a3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -408,7 +408,7 @@ clean-local::
$(Q)$(RM) ext/extinit.c ext/extinit.$(OBJEXT) ext/ripper/y.output \
enc/encinit.c enc/encinit.$(OBJEXT)
-$(Q)$(RM) $(pkgconfig_DATA)
- -$(Q)$(RMALL) ruby-runner$(EXEEXT) ruby-runner.h ruby-runner.*/
+ -$(Q)$(RMALL) ruby-runner$(EXEEXT) ruby-runner.h *.dSYM
distclean-local::
$(Q)$(RM) ext/config.cache $(RBCONFIG) Doxyfile
diff --git a/common.mk b/common.mk
index 445fe8de5f..178db93021 100644
--- a/common.mk
+++ b/common.mk
@@ -563,7 +563,7 @@ realclean-extout: distclean-extout
clean-ext distclean-ext realclean-ext::
$(Q)$(RM) $(EXTS_MK)
$(Q)$(RM) $(TIMESTAMPDIR)/.*.time $(TIMESTAMPDIR)/.$(arch).time $(TIMESTAMPDIR)/$(arch)/.time
- $(Q)$(RMDIR) $(TIMESTAMPDIR)/$(arch) $(TIMESTAMPDIR) 2> $(NULL) || exit 0
+ $(Q)$(RMDIRS) $(TIMESTAMPDIR)/$(arch) 2> $(NULL) || exit 0
clean-enc distclean-enc realclean-enc: PHONY