aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/redo.rb
diff options
context:
space:
mode:
authorMax Howell2011-02-13 12:24:12 +0000
committerAdam Vandenberg2011-03-12 11:55:06 -0800
commit7df09b74f23830a760386f8322faeb7e6cfc0dc6 (patch)
tree7beebd0504b4255185dff49ef69d9e9ce590ae2a /Library/Formula/redo.rb
parentb2a065714d3ba0ac8d1b71fa1b0ad71eb54893cc (diff)
downloadhomebrew-7df09b74f23830a760386f8322faeb7e6cfc0dc6.tar.bz2
Install redo manpages
Diffstat (limited to 'Library/Formula/redo.rb')
-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