From 7cf32d1297f4bdb3916f9165b128778bc36c1d15 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/trunk@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 9627f09ad..9984caa16 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -390,16 +390,8 @@ else end if $extout - RbConfig.expand(extout = "#{$extout}", RbConfig::CONFIG.merge("topdir"=>$topdir)) - if $install - dest = RbConfig.expand($rubylibdir.dup) - unless $destdir.empty? - dest.sub!($dest_prefix_pattern, RbConfig.expand($destdir.dup)) - end - FileUtils.cp_r(extout+"/.", dest, :remove_destination => true, :verbose => true, :noop => $dryrun) - exit - end unless $ignore + RbConfig.expand(extout = "#{$extout}", RbConfig::CONFIG.merge("topdir"=>$topdir)) FileUtils.mkpath(extout) end end -- cgit