From e0df26d36a00ea2499f1c5e0d44e0c014247680c Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 Sep 2006 07:06:57 +0000 Subject: * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb: use instruby.rb to install extensions instead of ext/extmk.rb. * instruby.rb: store installed list into the file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'ext') diff --git a/ext/extmk.rb b/ext/extmk.rb index 615bb13ad..fb28fb11c 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -390,16 +390,8 @@ else end if $extout - Config.expand(extout = "#$extout", Config::CONFIG.merge("topdir"=>$topdir)) - if $install - dest = Config.expand($rubylibdir.dup) - unless $destdir.empty? - dest.sub!($dest_prefix_pattern, Config.expand($destdir.dup)) - end - FileUtils.cp_r(extout+"/.", dest, :verbose => true, :noop => $dryrun) - exit - end unless $ignore + Config.expand(extout = "#$extout", Config::CONFIG.merge("topdir"=>$topdir)) FileUtils.mkpath(extout) end end -- cgit