From fd855a082bc0485dd2f9132a16cd91fd14ba76cb Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 31 Dec 2008 22:16:51 +0000 Subject: * 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 --- win32/Makefile.sub | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'win32/Makefile.sub') 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) \ -- cgit v1.2.3