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

ruby-changes:2703

From: ko1@a...
Date: 11 Dec 2007 16:19:49 +0900
Subject: [ruby-changes:2703] nobu - Ruby:r14194 (trunk): * Makefile.in, */Makefile.sub (CP, MV): added.

nobu	2007-12-11 16:19:28 +0900 (Tue, 11 Dec 2007)

  New Revision: 14194

  Modified files:
    trunk/ChangeLog
    trunk/Makefile.in
    trunk/bcc32/Makefile.sub
    trunk/common.mk
    trunk/win32/Makefile.sub
    trunk/wince/Makefile.sub

  Log:
    * Makefile.in, */Makefile.sub (CP, MV): added.
    
    * common.mk (.y.c): not discard the old target until successfully
      created.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/wince/Makefile.sub?r1=14194&r2=14193
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/Makefile.in?r1=14194&r2=14193
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14194&r2=14193
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/win32/Makefile.sub?r1=14194&r2=14193
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bcc32/Makefile.sub?r1=14194&r2=14193
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/common.mk?r1=14194&r2=14193

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14193)
+++ ChangeLog	(revision 14194)
@@ -1,3 +1,10 @@
+Tue Dec 11 16:19:26 2007  Nobuyoshi Nakada  <nobu@r...>
+
+	* Makefile.in, */Makefile.sub (CP, MV): added.
+
+	* common.mk (.y.c): not discard the old target until successfully
+	  created.
+
 Tue Dec 11 15:20:39 2007  Yukihiro Matsumoto  <matz@r...>
 
 	* object.c (Init_Object): singleton_method_{added,removed,undefined}
Index: common.mk
===================================================================
--- common.mk	(revision 14193)
+++ common.mk	(revision 14194)
@@ -355,8 +355,9 @@
 
 {$(srcdir)}.y.c:
 	$(YACC) $(YFLAGS) -o y.tab.c $<
-	sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@
-	@$(RM) y.tab.c
+	sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
+	@$(RM) $@ y.tab.c
+	@$(MV) $@.new $@
 
 acosh.$(OBJEXT): {$(VPATH)}acosh.c
 alloca.$(OBJEXT): {$(VPATH)}alloca.c
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 14193)
+++ win32/Makefile.sub	(revision 14194)
@@ -50,6 +50,8 @@
 PURIFY =
 AUTOCONF = autoconf
 RM = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat
+CP = copy > nul
+MV = ren > nul
 !if !defined(BASERUBY)
 BASERUBY = ruby
 !endif
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 14193)
+++ Makefile.in	(revision 14194)
@@ -81,6 +81,8 @@
 SETUP         =
 EXTSTATIC     = @EXTSTATIC@
 
+CP            = cp
+MV            = mv
 RM            = rm -f
 NM            = @NM@
 AR            = @AR@
Index: bcc32/Makefile.sub
===================================================================
--- bcc32/Makefile.sub	(revision 14193)
+++ bcc32/Makefile.sub	(revision 14194)
@@ -67,6 +67,8 @@
 PURIFY =
 AUTOCONF = autoconf
 RM = $(srcdir:/=\)\win32\rm.bat
+CP = copy > nul
+MV = ren > nul
 
 !if !defined(PROCESSOR_ARCHITECTURE)
 PROCESSOR_ARCHITECTURE = x86
Index: wince/Makefile.sub
===================================================================
--- wince/Makefile.sub	(revision 14193)
+++ wince/Makefile.sub	(revision 14194)
@@ -44,6 +44,8 @@
 PURIFY =
 AUTOCONF = autoconf
 RM = $(srcdir)\win32\rm.bat
+CP = copy > nul
+MV = ren > nul
 !if !defined(BASERUBY)
 BASERUBY = ruby
 !endif

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

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