diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-16 07:06:57 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-16 07:06:57 +0000 |
| commit | 7cf32d1297f4bdb3916f9165b128778bc36c1d15 (patch) | |
| tree | 850efc2db53fdcc5b1b9ff6ebfeb0dbf479863ab /ext | |
| parent | 33d5995270b655343d8d3b63d9ecd8c2aa808cc1 (diff) | |
| download | ruby-7cf32d1297f4bdb3916f9165b128778bc36c1d15.tar.gz ruby-7cf32d1297f4bdb3916f9165b128778bc36c1d15.tar.xz ruby-7cf32d1297f4bdb3916f9165b128778bc36c1d15.zip | |
* 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
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/extmk.rb | 10 |
1 files changed, 1 insertions, 9 deletions
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 |
