1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* Makefile.in ({dist,real}clean-ext): fix for removing ext

directories.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-03-22 08:38:10 +00:00
parent 1561d3fb8b
commit cce8bbb794
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Mar 22 17:37:58 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in ({dist,real}clean-ext): fix for removing ext
directories.
Mon Mar 22 09:06:10 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/.document: extracted from ext/.document.

View file

@ -259,9 +259,10 @@ clean-ext distclean-ext realclean-ext::
set dummy `for dir; do \
find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
done`; shift; \
cd ..; \
for dir; do \
echo $(@:-ext=)ing "$$dir"; \
(cd "$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
case "$@" in \
*distclean-ext*|*realclean-ext*) \
$(RMDIRS) "$$dir";; \