summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-16 07:06:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-16 07:06:57 +0000
commitf06362a4f9aab177009dbedb0242fd90811cfca2 (patch)
tree850efc2db53fdcc5b1b9ff6ebfeb0dbf479863ab /ext/extmk.rb
parentefc605aeadf6f428b3ceecb749ed325290f79d66 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r--ext/extmk.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 9627f09adb..9984caa164 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