[前][次][番号順一覧][スレッド一覧]

ruby-changes:45321

From: nobu <ko1@a...>
Date: Sun, 22 Jan 2017 17:04:42 +0900 (JST)
Subject: [ruby-changes:45321] nobu:r57394 (trunk): Makefile.sub: refine distclean-ext

nobu	2017-01-22 17:04:37 +0900 (Sun, 22 Jan 2017)

  New Revision: 57394

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57394

  Log:
    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.

  Modified files:
    trunk/win32/Makefile.sub
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 57393)
+++ win32/Makefile.sub	(revision 57394)
@@ -1072,7 +1072,8 @@ clean-ext distclean-ext realclean-ext:: https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L1072
 		) )
 
 distclean-ext realclean-ext::
-		-$(Q)rmdir ext
+		-$(Q)$(RM) ext/extinit.c
+		-$(Q)rmdir ext 2> nul || @
 
 clean-extout:
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]