diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-19 05:14:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-19 05:14:30 +0000 |
commit | 6784d8fda6c1a5dd31cfab4f4dccda7c04447d47 (patch) | |
tree | 295b2185d7dbc43d1e296d3e9482efa716f491f7 | |
parent | 4caba4ebd09c7bede067c4124d009138a5fd7d3c (diff) | |
download | ruby-6784d8fda6c1a5dd31cfab4f4dccda7c04447d47.tar.gz |
* lib/mkmf.rb (create_makefile): creates target directories before
copying. [ruby-core:21958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/mkmf.rb | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -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 2a49b6fc8f..40b0c2f58b 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") |