ruby-changes:11037
From: usa <ko1@a...>
Date: Wed, 25 Feb 2009 22:54:48 +0900 (JST)
Subject: [ruby-changes:11037] Ruby:r22629 (ruby_1_8): * win32/Makefile.sub (config.status): use un.rb as cp instead of
usa 2009-02-25 22:54:37 +0900 (Wed, 25 Feb 2009) New Revision: 22629 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22629 Log: * win32/Makefile.sub (config.status): use un.rb as cp instead of cmd.exe's copy command. * lib/mkmf.rb (create_makefile): no longer need to convert path separator when copying file. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/lib/mkmf.rb Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 22628) +++ ruby_1_8/ChangeLog (revision 22629) @@ -1,3 +1,11 @@ +Wed Feb 25 22:54:13 2009 NAKAMURA Usaku <usa@r...> + + * win32/Makefile.sub (config.status): use un.rb as cp instead of + cmd.exe's copy command. + + * lib/mkmf.rb (create_makefile): no longer need to convert path + separator when copying file. + Wed Feb 25 22:53:04 2009 NAKAMURA Usaku <usa@r...> * eval.c (rb_thread_schedule): mswin32 doesn't have F_GETFD, so check Index: ruby_1_8/lib/mkmf.rb =================================================================== --- ruby_1_8/lib/mkmf.rb (revision 22628) +++ ruby_1_8/lib/mkmf.rb (revision 22629) @@ -1569,16 +1569,7 @@ dest = "#{dir}/#{File.basename(f)}" mfile.print("install-rb#{sfx}: #{dest}\n") mfile.print("#{dest}: #{f} #{dir}\n\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ") - sep = config_string('BUILD_FILE_SEPARATOR') - if sep - f = f.gsub("/", sep) - sep = ":/="+sep - f = f.gsub(/(\$\(\w+)(\))/) {$1+sep+$2} - f = f.gsub(/(\$\{\w+)(\})/) {$1+sep+$2} - else - sep = "" - end - mfile.print("#{f} $(@D#{sep})\n") + mfile.print("#{f} $(@D)\n") if defined?($installed_list) and !$extout mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n") end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/