From c37b2ef8dcb88bc7a60e254bfc4f8f19279fe45e Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 4 Aug 2010 06:52:18 +0000 Subject: [PATCH] * lib/mkmf.rb (create_makefile): no need to create the directory at each library file. this change makes making ext faster. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/mkmf.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9ddac05695..076d0586e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 4 15:47:21 2010 NAKAMURA Usaku + + * lib/mkmf.rb (create_makefile): no need to create the directory + at each library file. this change makes making ext faster. + Wed Aug 4 06:25:04 2010 Tanaka Akira * ext/pathname/pathname.c (path_atime): Pathname#atime translated from diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 12d20bd582..9cec5f196c 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1844,8 +1844,8 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} end for f in files dest = "#{dir}/#{File.basename(f)}" - mfile.print("install-rb#{sfx}: #{dest}\n") - mfile.print("#{dest}: #{f}\n\t@-$(MAKEDIRS) $(@D#{sep})\n") + mfile.print("install-rb#{sfx}: #{dest} #{dir}\n") + mfile.print("#{dest}: #{f}\n") mfile.print("\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D#{sep})\n") if defined?($installed_list) and !$extout mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n")