From e5756fae1acff1c5a730f1c8e8f98b5b568ffc87 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 19 Feb 2009 05:14:30 +0000 Subject: * 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 --- ChangeLog | 5 +++++ lib/mkmf.rb | 3 +-- 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 + + * lib/mkmf.rb (create_makefile): creates target directories before + copying. [ruby-core:21958] + Thu Feb 19 13:56:00 2009 Nobuyoshi Nakada * 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") -- cgit