summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-14 17:32:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-14 17:32:03 +0000
commit1d408c933a3e07a6f314e8986733020ea746091b (patch)
tree6091c629ff0df7e6686b93a16adb90400b110af6 /win32
parent3a4231cdf47dadb91ebc9b5c6835033540cd624b (diff)
* Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaning
targets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub11
1 files changed, 11 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 870d9ff952..8cbe212e4a 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -845,6 +845,17 @@ clean-ext distclean-ext realclean-ext::
distclean-ext realclean-ext::
@-rmdir ext
+clean-extout:
+!if exist($(EXTOUT)/.)
+ @-$(RMDIRS) $(EXTOUT)
+!endif
+
+clean-enc distclean-enc realclean-enc:
+!if exist($(ENC_MK))
+ @echo $(@:-enc=ing) encodings
+ @-$(MAKE) -f $(ENC_MK) $(MFLAGS) $(@F)
+!endif
+
$(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) \