ruby-changes:16854
From: usa <ko1@a...>
Date: Wed, 4 Aug 2010 15:52:38 +0900 (JST)
Subject: [ruby-changes:16854] Ruby:r28850 (trunk): * lib/mkmf.rb (create_makefile): no need to create the directory
usa 2010-08-04 15:52:18 +0900 (Wed, 04 Aug 2010) New Revision: 28850 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28850 Log: * lib/mkmf.rb (create_makefile): no need to create the directory at each library file. this change makes making ext faster. Modified files: trunk/ChangeLog trunk/lib/mkmf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 28849) +++ ChangeLog (revision 28850) @@ -1,3 +1,8 @@ +Wed Aug 4 15:47:21 2010 NAKAMURA Usaku <usa@r...> + + * 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@f...> * ext/pathname/pathname.c (path_atime): Pathname#atime translated from Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 28849) +++ lib/mkmf.rb (revision 28850) @@ -1844,8 +1844,8 @@ 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") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/