summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-25 06:07:10 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-25 06:07:10 +0000
commite7ae051153a24f2a60ea69256101b115905d7d2d (patch)
tree99f1a079970e27ea23bb3d624d7a73fbe6971e8d
parent1deeb07d506b2522c788246a14b92ef2c093894a (diff)
downloadruby-e7ae051153a24f2a60ea69256101b115905d7d2d.tar.gz
ruby-e7ae051153a24f2a60ea69256101b115905d7d2d.tar.xz
ruby-e7ae051153a24f2a60ea69256101b115905d7d2d.zip
* 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog8
-rw-r--r--lib/mkmf.rb2
-rw-r--r--win32/Makefile.sub1
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1dfe3c185..9d072c007 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Wed Feb 25 15:05:35 2009 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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 12:27:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_force_encoding): should clear coderange at changing
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 260e8eb03..8af18379e 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1712,7 +1712,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
dest = "#{dir}/#{File.basename(f)}"
mfile.print("install-rb#{sfx}: #{dest}\n")
mfile.print("#{dest}: #{f} #{dir}\n\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ")
- mfile.print("#{fseprepl[f]} $(@D#{sep})\n")
+ mfile.print("#{f} $(@D)\n")
if defined?($installed_list) and !$extout
mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n")
end
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 6ca56bf78..cff6bca20 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -584,7 +584,6 @@ s,@SET_MAKE@,MFLAGS = -$$(MAKEFLAGS),;t t
s,@RM@,$$(COMSPEC) /C $$(top_srcdir:/=\)\win32\rm.bat,;t t
s,@RMDIRS@,$$(COMSPEC) /C $$(top_srcdir:/=\)\win32\rmdirs.bat,;t t
s,@RMALL@,$$(COMSPEC) /C rmdir /s /q,;t t
-s,@CP@,copy > nul,;t t
s,@LIBOBJS@,$(LIBOBJS),;t t
s,@ALLOCA@,$(ALLOCA),;t t
s,@DEFAULT_KCODE@,$(DEFAULT_KCODE),;t t