Submitted by legacy (Sun Sep 28 23:09:49 UTC 2003)
/usr/[local/]doc/ruby/
A similar path in a Windows install would look like this:
C:/ruby/doc/ruby
The benefit of agreeing on a standard and implementing it is that package installers could use it to install package documentation in a known place.
In order to implement this, we need to change mkconfig.rb so that in a Ruby installation, the documentation directory is accessible via rbconfig.rb, just as we find the "site_ruby" directory and others in this way.
Therefore, I propose that the following line be included in rbconfig.rb (the first line is an existing one for reference):
CONFIG["rubylibdir"] = "$(libdir)/ruby/$(ruby_version)"
+ CONFIG["rubydocdir"] = "$(prefix)/doc/ruby"
Roll on decent, installed package documentation!
Comments | Current voting | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
RCRchive copyright © David Alan Black, 2003-2005.
Powered by .
Great idea (, 2003-10-02 11:32:32)
Re: Include CONFIG::Config['rubydocdir'] in rbconfig.rb (, 2003-10-20 01:51:54)