diff options
| author | Adriano Bonat | 2010-05-16 20:29:32 -0300 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-19 16:07:01 -0700 |
| commit | b38189029835a85fdc03b55b1cd42b2dbf67cf9e (patch) | |
| tree | 0bfc9088f7dd0f3ba8711a2ca319f03737f0b7ff /Library | |
| parent | 0005a71d69ded6e53e7d3d41c68013b9b590e48d (diff) | |
| download | homebrew-b38189029835a85fdc03b55b1cd42b2dbf67cf9e.tar.bz2 | |
Adding the option "--with-doc" to install Ruby with documentation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ruby.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index 2cfc2cdf4..fcdf87013 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -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 |
