summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-06 09:56:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-06 09:56:22 +0000
commitb4ba3ba6410d33e4ac15cce8b633f8d1f525f107 (patch)
treeda4e778fc47e1a285245c2dd196c5a0412947e0d
parent775188a0a2d7c186a089cf358c4bbb8449c63783 (diff)
* Makefile.in (clean-ext): fixed directories to be removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cfda3c..dfc4039 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Aug 6 18:56:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * Makefile.in (clean-ext): fixed directories to be removed.
+
Fri Aug 6 17:42:12 2010 NARUSE, Yui <naruse@ruby-lang.org>
* enc/depend: add space at the begginig of @ignore_error.
diff --git a/Makefile.in b/Makefile.in
index 31a36fc..57af5cf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -261,16 +261,16 @@ distclean-rdoc:
clean-ext distclean-ext realclean-ext::
@cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \
test "$$#" = 0 && set .; \
- set dummy `for dir do \
- find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
- done`; shift; \
+ set dummy `\
+ find "$$@" -name Makefile -print | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
+ `; shift; \
cd ..; \
for dir do \
echo $(@:-ext=)ing "$$dir"; \
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
case "$@" in \
*distclean-ext*|*realclean-ext*) \
- $(RMDIRS) "$$dir" 2> /dev/null || true;; \
+ $(RMDIRS) "ext/$$dir" 2> /dev/null || true;; \
esac; \
done