summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb3
1 files changed, 1 insertions, 2 deletions
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")