summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-04 06:52:18 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-04 06:52:18 +0000
commitc37b2ef8dcb88bc7a60e254bfc4f8f19279fe45e (patch)
treea7863fd55266ad887b8aa7d8ab3a1a78af24a9bc
parent71a3defd34574a8af738639def919024a2aa02b9 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/mkmf.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ddac05..076d058 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 4 15:47:21 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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 <akr@fsij.org>
* ext/pathname/pathname.c (path_atime): Pathname#atime translated from
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 12d20bd..9cec5f1 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")