summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 06:43:17 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 06:43:17 +0000
commitbf4f43e21092ec6432671d595a6a42e939f51494 (patch)
tree3a826280842448f08d9ce27038600d1ec7d40761 /win32
parentdabea27279d19d13ab041ecab1d2532440703f58 (diff)
merges r21220 from trunk into ruby_1_9_1.
* Makefile.in (distclean-ext, realclean-ext): use EXTS as default. * win32/Makefile.sub (distclean-ext, realclean-ext): try to remove ext directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index a567c7799f..0586c1ba36 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -692,9 +692,13 @@ clean-ext distclean-ext realclean-ext::
echo $(@:-ext=)ing %~nI & \
cd %I & \
$(MAKE) $(MFLAGS) $(@:-ext=) & \
- cd %CD% \
+ cd %CD% & \
+ rmdir %I \
)
+distclean-ext realclean-ext::
+ @-rmdir ext
+
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG) $(srcdir)/revision.h $(srcdir)/win32/resource.rb
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
-ruby_name=$(RUBY_INSTALL_NAME) \