summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-31 22:16:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-31 22:16:51 +0000
commitfd855a082bc0485dd2f9132a16cd91fd14ba76cb (patch)
tree3fa7378e72db33c07a9270210c9cd9b92df8f1d6 /win32
parent79ccc677e779b360e21ba683a1c4f93939aa7c7d (diff)
* 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/trunk@21220 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) \