summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-30 23:08:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-30 23:08:03 +0000
commit3f108b164ed5fb5bdac34ef9d558197a22a57fc9 (patch)
treea1f224233a563ee5559f1616a9dc0a76dc49d69e /instruby.rb
parent1928aa3c930993f71d3236c9f0832bc1ad57726c (diff)
* instruby.rb: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/instruby.rb b/instruby.rb
index 98d2714..f1225a4 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -111,26 +111,9 @@ makedirs [bindir, libdir, rubylibdir, archlibdir, sitelibdir, sitearchlibdir]
install?(:bin) do
ruby_bin = File.join(bindir, ruby_install_name)
-major = CONFIG["MAJOR"]
-minor = CONFIG["MINOR"]
-teeny = CONFIG["TEENY"]
-os = CONFIG["target_os"]
-suffixes = %W[#{major}#{minor} #{major}#{minor}#{teeny}
-#{major}#{minor}-#{os} #{major}#{minor}#{teeny}-#{os}
--#{major}.#{minor} -#{major}.#{minor}.#{teeny}
-]
-def suffixes.link(bin)
- each do |suf|
- ln(bin+exeext, bin+suf+exeext, force: true)
- end
-rescue NotImplementedError
-end
-
install ruby_install_name+exeext, ruby_bin+exeext, :mode => 0755
-suffixes.link(ruby_bin)
if rubyw_install_name and !rubyw_install_name.empty?
install rubyw_install_name+exeext, bindir, :mode => 0755
- suffixes.link(File.join(bindir, rubyw_install_name))
end
install dll, bindir, :mode => 0755 if enable_shared and dll != lib
install lib, libdir, :mode => 0755 unless lib == arc