summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-16 00:37:48 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-16 00:37:48 (GMT)
commita3b92a5d926cc9ec5d7f730e54eaa1aabe783a1f (patch)
tree7a473243a59bda128ff66b4f8f9e348432abc1d6 /tool
parent9b38ed530f3070aa004b28b071fe7ac97bcd487a (diff)
rbinstall.rb: do not install rdoc flag files [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 6c7fc60..b448e62 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -342,6 +342,8 @@ lib = CONFIG["LIBRUBY", true]
arc = CONFIG["LIBRUBY_A", true]
load_relative = CONFIG["LIBRUBY_RELATIVE"] == 'yes'
+rdoc_noinst = %w[created.rid]
+
install?(:local, :arch, :bin, :'bin-arch') do
prepare "binary commands", bindir
@@ -424,13 +426,13 @@ install?(:doc, :rdoc) do
if $rdocdir
ridatadir = File.join(CONFIG['ridir'], CONFIG['ruby_version'], "system")
prepare "rdoc", ridatadir
- install_recursive($rdocdir, ridatadir, :mode => $data_mode)
+ install_recursive($rdocdir, ridatadir, :no_install => rdoc_noinst, :mode => $data_mode)
end
end
install?(:doc, :html) do
if $htmldir
prepare "html-docs", docdir
- install_recursive($htmldir, docdir+"/html", :mode => $data_mode)
+ install_recursive($htmldir, docdir+"/html", :no_install => rdoc_noinst, :mode => $data_mode)
end
end
install?(:doc, :capi) do