* 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
This commit is contained in:
usa 2010-08-04 06:52:18 +00:00
parent 71a3defd34
commit c37b2ef8dc
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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")