summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-22 08:04:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-22 08:04:37 +0000
commit709a60f92d1f922211c7f9e0c8a3f72a23bf8d11 (patch)
tree365d1690b42a6dad39554b0a8e3d773c1781ed21 /win32/Makefile.sub
parent75dbfa136017e77595f2b18191d3d3568b8cb54b (diff)
Makefile.sub: refine distclean-ext
* win32/Makefile.sub (distclean-ext, realclean-ext): remove extinit.c and suppress error message when failed to remove ext directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index d5f39123591..d90f24f7cd1 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -1072,7 +1072,8 @@ clean-ext distclean-ext realclean-ext::
) )
distclean-ext realclean-ext::
- -$(Q)rmdir ext
+ -$(Q)$(RM) ext/extinit.c
+ -$(Q)rmdir ext 2> nul || @
clean-extout: