summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-19 05:14:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-19 05:14:30 +0000
commite5756fae1acff1c5a730f1c8e8f98b5b568ffc87 (patch)
tree295b2185d7dbc43d1e296d3e9482efa716f491f7
parent863a3c1e111804349b20b000e6a72fc69b109e88 (diff)
downloadruby-e5756fae1acff1c5a730f1c8e8f98b5b568ffc87.tar.gz
ruby-e5756fae1acff1c5a730f1c8e8f98b5b568ffc87.tar.xz
ruby-e5756fae1acff1c5a730f1c8e8f98b5b568ffc87.zip
* lib/mkmf.rb (create_makefile): creates target directories before
copying. [ruby-core:21958] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/mkmf.rb3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f0354a8df..7262c7064 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 19 14:14:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/mkmf.rb (create_makefile): creates target directories before
+ copying. [ruby-core:21958]
+
Thu Feb 19 13:56:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049]
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 2a49b6fc8..40b0c2f58 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1707,8 +1707,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
for f in files
dest = "#{dir}/#{File.basename(f)}"
mfile.print("install-rb#{sfx}: #{dest}\n")
- mfile.print("#{dest}: #{f}\n")
- mfile.print("\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ")
+ mfile.print("#{dest}: #{f} #{dir}\n\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ")
mfile.print("#{fseprepl[f]} $(@D#{sep})\n")
if defined?($installed_list) and !$extout
mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n")