diff options
-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") |