mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
775188a0a2
commit
b4ba3ba641
2 changed files with 8 additions and 4 deletions
|
@ -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>
|
Fri Aug 6 17:42:12 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* enc/depend: add space at the begginig of @ignore_error.
|
* enc/depend: add space at the begginig of @ignore_error.
|
||||||
|
|
|
@ -261,16 +261,16 @@ distclean-rdoc:
|
||||||
clean-ext distclean-ext realclean-ext::
|
clean-ext distclean-ext realclean-ext::
|
||||||
@cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \
|
@cd ext 2>/dev/null || exit 0; set dummy `echo "${EXTS}" | tr , ' '`; shift; \
|
||||||
test "$$#" = 0 && set .; \
|
test "$$#" = 0 && set .; \
|
||||||
set dummy `for dir do \
|
set dummy `\
|
||||||
find $$dir -name Makefile | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
|
find "$$@" -name Makefile -print | sed 's:^\./::;s:/Makefile$$:~:' | sort | sed 's:~$$::'; \
|
||||||
done`; shift; \
|
`; shift; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
for dir do \
|
for dir do \
|
||||||
echo $(@:-ext=)ing "$$dir"; \
|
echo $(@:-ext=)ing "$$dir"; \
|
||||||
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
|
(cd "ext/$$dir" && exec $(MAKE) $(MFLAGS) $(@:-ext=)) && \
|
||||||
case "$@" in \
|
case "$@" in \
|
||||||
*distclean-ext*|*realclean-ext*) \
|
*distclean-ext*|*realclean-ext*) \
|
||||||
$(RMDIRS) "$$dir" 2> /dev/null || true;; \
|
$(RMDIRS) "ext/$$dir" 2> /dev/null || true;; \
|
||||||
esac; \
|
esac; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue