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

ruby-changes:35976

From: usa <ko1@a...>
Date: Mon, 20 Oct 2014 23:21:31 +0900 (JST)
Subject: [ruby-changes:35976] usa:r48057 (trunk): * lib/mkmf.rb: no need to convert path separator for COPY because it's

usa	2014-10-20 23:21:18 +0900 (Mon, 20 Oct 2014)

  New Revision: 48057

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

  Log:
    * lib/mkmf.rb: no need to convert path separator for COPY because it's
      ruby -run cp and it can treat '/' on any platform.

  Modified files:
    trunk/ChangeLog
    trunk/lib/mkmf.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48056)
+++ ChangeLog	(revision 48057)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Oct 20 23:18:18 2014  NAKAMURA Usaku  <usa@r...>
+
+	* lib/mkmf.rb: no need to convert path separator for COPY because it's
+	  ruby -run cp and it can treat '/' on any platform.
+
 Mon Oct 20 19:54:54 2014  Martin Duerst <duerst@i...>
 
 	* config.mk: Added missing data files as targets for
Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 48056)
+++ lib/mkmf.rb	(revision 48057)
@@ -2315,7 +2315,7 @@ static: $(STATIC_LIB)#{$extout ? " insta https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2315
           dest = "#{dir}/#{File.basename(f)}"
           mfile.print("install-rb#{sfx}: #{dest}\n")
           mfile.print("#{dest}: #{f} #{timestamp_file(dir, target_prefix)}\n")
-          mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D#{sep})\n")
+          mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{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/

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