ruby-changes:10021
From: yugui <ko1@a...>
Date: Fri, 16 Jan 2009 00:40:39 +0900 (JST)
Subject: [ruby-changes:10021] Ruby:r21564 (ruby_1_9_1): merges r21516 from trunk into ruby_1_9_1.
yugui 2009-01-16 00:39:47 +0900 (Fri, 16 Jan 2009) New Revision: 21564 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21564 Log: merges r21516 from trunk into ruby_1_9_1. * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc, miniprelude.c, newline.c): copy only when $(srcdir) != pwd. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/win32/Makefile.sub Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 21563) +++ ruby_1_9_1/ChangeLog (revision 21564) @@ -1,3 +1,8 @@ +Thu Jan 15 12:10:39 2009 NAKAMURA Usaku <usa@r...> + + * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc, + miniprelude.c, newline.c): copy only when $(srcdir) != pwd. + Wed Jan 14 23:57:28 2009 Nobuyoshi Nakada <nobu@r...> * encoding.c (rb_locale_charmap): fallback to codepage if no Index: ruby_1_9_1/win32/Makefile.sub =================================================================== --- ruby_1_9_1/win32/Makefile.sub (revision 21563) +++ ruby_1_9_1/win32/Makefile.sub (revision 21564) @@ -768,7 +768,7 @@ $(INSNS): @if exist $(srcdir:/=\)\$(@F) ( \ - copy $(srcdir:/=\)\$(@F) $@ \ + if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \ ) else ( \ @$(RM) $(PROGRAM) \ $(BASERUBY) -Ks $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@ \ @@ -776,28 +776,28 @@ node_name.inc: @if exist $(srcdir:/=\)\$(@F) ( \ - copy $(srcdir:/=\)\$(@F) $@ \ + if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \ ) else ( \ $(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@ \ ) known_errors.inc: @if exist $(srcdir:/=\)\$(@F) ( \ - copy $(srcdir:/=\)\$(@F) $@ \ + if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \ ) else ( \ $(BASERUBY) $(srcdir)/tool/generic_erb.rb -c -o $@ $(srcdir)/template/known_errors.inc.tmpl $(srcdir)/defs/known_errors.def \ ) miniprelude.c: @if exist $(srcdir:/=\)\$(@F) ( \ - copy $(srcdir:/=\)\$(@F) $@ \ + if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \ ) else ( \ $(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@ \ ) -newline.c: +newline.c: @if exist $(srcdir:/=\)\$(@F) ( \ - copy $(srcdir:/=\)\$(@F) $@ \ + if not "$(srcdir:/=\)" == "%CD%" copy $(srcdir:/=\)\$(@F) $@ \ ) else ( \ $(BASERUBY) "$(srcdir)/tool/transcode-tblgen.rb" -vo newline.c $(srcdir)/enc/trans/newline.trans \ ) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/