Adding the option "--with-doc" to install Ruby with documentation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
efbd04bb72
commit
f3d03e1a5c
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ class Ruby <Formula
|
|||
def options
|
||||
[
|
||||
["--with-suffix", "Add a 19 suffix to commands"],
|
||||
["--with-doc", "Install with the Ruby documentation"],
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -28,6 +29,8 @@ class Ruby <Formula
|
|||
system "./configure", *args
|
||||
system "make"
|
||||
system "make install"
|
||||
|
||||
system "make install-doc" if ARGV.include? "--with-doc"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS
|
||||
|
|
Loading…
Reference in a new issue