aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/redo.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/redo.rb b/Library/Formula/redo.rb
index 958553a8b..7a9253d63 100644
--- a/Library/Formula/redo.rb
+++ b/Library/Formula/redo.rb
@@ -1,5 +1,10 @@
require 'formula'
+class RedoDocs <Formula
+ head 'https://github.com/apenwarr/redo.git', {:using => :git, :branch => 'man' }
+ version 'foo'
+end
+
class Redo <Formula
version '0.06'
url "https://github.com/apenwarr/redo/zipball/redo-#{version}"
@@ -9,5 +14,10 @@ class Redo <Formula
def install
ENV['PREFIX'] = prefix
system "./redo install"
+ rm share/:doc/:redo/'README.md' # lets not have two copies
+
+ RedoDocs.new('redodocs').brew do |formula|
+ man1.install Dir['*']
+ end
end
end