* 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
This commit is contained in:
nobu 2012-05-03 14:56:39 +00:00
Родитель cfcc9b53c2
Коммит 3f6349a1bf
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -312,7 +312,7 @@ sitearchlibdir = CONFIG["sitearchdir"]
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 @@ install?(:doc, :rdoc) do
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