ruby-changes:53534
From: nobu <ko1@a...>
Date: Fri, 16 Nov 2018 09:37:52 +0900 (JST)
Subject: [ruby-changes:53534] nobu:r65750 (trunk): rbinstall.rb: do not install rdoc flag files [ci skip]
nobu 2018-11-16 09:37:48 +0900 (Fri, 16 Nov 2018) New Revision: 65750 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65750 Log: rbinstall.rb: do not install rdoc flag files [ci skip] Modified files: trunk/tool/rbinstall.rb Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 65749) +++ tool/rbinstall.rb (revision 65750) @@ -342,6 +342,8 @@ lib = CONFIG["LIBRUBY", true] https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L342 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 https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L426 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/