Permalink
Browse files

* tool/rbinstall.rb (capi): install to capi directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent cfcc9b5 commit 3f6349a1bfb9031af085c57905d858b765a688bb @nobu nobu committed May 3, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tool/rbinstall.rb
View
6 tool/rbinstall.rb
@@ -312,7 +312,7 @@ def CONFIG.[](name, mandatory = false)
vendorlibdir = CONFIG["vendorlibdir"]
vendorarchlibdir = CONFIG["vendorarchdir"]
mandir = CONFIG["mandir", true]
-capidir = CONFIG["docdir", true]
+docdir = CONFIG["docdir", true]
configure_args = Shellwords.shellwords(CONFIG["configure_args"])
enable_shared = CONFIG["ENABLE_SHARED"] == 'yes'
dll = CONFIG["LIBRUBY_SO", enable_shared]
@@ -396,8 +396,8 @@ def CONFIG.[](name, mandatory = false)
end
end
install?(:doc, :capi) do
- prepare "capi-docs", capidir
- install_recursive "doc/capi", capidir, :mode => $data_mode
+ prepare "capi-docs", docdir
+ install_recursive "doc/capi", docdir+"/capi", :mode => $data_mode
end
if load_relative

0 comments on commit 3f6349a

Please sign in to comment.