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

ruby-changes:18398

From: nobu <ko1@a...>
Date: Wed, 29 Dec 2010 20:31:29 +0900 (JST)
Subject: [ruby-changes:18398] Ruby:r30421 (trunk): * enc/depend (clean): remove name2ctype.h when out-of-place build.

nobu	2010-12-29 20:31:23 +0900 (Wed, 29 Dec 2010)

  New Revision: 30421

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30421

  Log:
    * enc/depend (clean): remove name2ctype.h when out-of-place build.

  Modified files:
    trunk/ChangeLog
    trunk/enc/depend

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30420)
+++ ChangeLog	(revision 30421)
@@ -1,5 +1,7 @@
-Wed Dec 29 20:27:32 2010  Nobuyoshi Nakada  <nobu@r...>
+Wed Dec 29 20:31:19 2010  Nobuyoshi Nakada  <nobu@r...>
 
+	* enc/depend (clean): remove name2ctype.h when out-of-place build.
+
 	* win32/Makefile.sub (clean-enc): pass V to inferior make.
 
 Wed Dec 29 18:23:46 2010  NAKAMURA Usaku  <usa@r...>
Index: enc/depend
===================================================================
--- enc/depend	(revision 30420)
+++ enc/depend	(revision 30421)
@@ -1,3 +1,4 @@
+% inplace = File.identical?($srcdir, ".")
 % workdirs = %w"$(ENCSODIR) $(TRANSSODIR) enc enc/trans"
 % CONFIG["WORKDIRS"] = workdirs.join(' ')
 % CONFIG["DLDFLAGS"].sub!(/(\A|\s)(-\S+(?:\s*\w*)?\$\(TARGET\)\S*)/, '\1')
@@ -145,6 +146,10 @@
 	$(Q)$(RM) <%=pathrep[clean]%>
 % end
 % @ignore_error = $nmake ? '' : ' 2> /dev/null || true'
+% unless inplace
+	$(Q)$(RM) enc/unicode/name2ctype.h
+	-$(Q)$(RMDIR) enc/unicode<%=@ignore_error%>
+% end
 % workdirs.reverse_each do|dir|
 	-$(Q)$(RMDIR) <%=pathrep[dir]%><%=@ignore_error%>
 % end

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

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