summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-06 08:40:27 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-06 08:40:27 +0000
commit2b071787d2d5f572eb5f41262b6610bfde5eabb1 (patch)
tree9471c99a3f7f9cc67c886045a26ff21d9f7638c3 /Makefile.in
parentf4c1540b969dbf3e9756f5bc8234f1b4746f4173 (diff)
* Makefile.in: ignore error from RMDIRS.
* enc/depend: ditto. * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 3a789dde53..31a36fc6e0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -253,7 +253,7 @@ distclean-local::
@$(RM) ext/config.cache $(RBCONFIG) Doxyfile
@-$(RM) run.gdb
@-$(RM) $(INSTALLED_LIST) $(arch_hdrdir)/ruby/config.h
- @-$(RMDIRS) $(arch_hdrdir)/ruby
+ @-$(RMDIRS) $(arch_hdrdir)/ruby 2> /dev/null || true
distclean-rdoc:
@$(RMALL) $(RDOCOUT:/=\)
@@ -270,7 +270,7 @@ clean-ext distclean-ext realclean-ext::
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
case "$@" in \
*distclean-ext*|*realclean-ext*) \
- $(RMDIRS) "$$dir";; \
+ $(RMDIRS) "$$dir" 2> /dev/null || true;; \
esac; \
done