* 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
This commit is contained in:
nobu 2010-08-06 09:56:22 +00:00
Родитель 775188a0a2
Коммит b4ba3ba641
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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