From a3b92a5d926cc9ec5d7f730e54eaa1aabe783a1f Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Nov 2018 00:37:48 +0000 Subject: [PATCH] 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 --- tool/rbinstall.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 6c7fc60002..b448e62d07 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