ack: generate man page

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2011-10-09 00:13:06 -05:00
parent f68d3de18f
commit ec8e80381f

View file

@ -6,6 +6,9 @@ class Ack < Formula
homepage 'http://betterthangrep.com/'
def install
system "pod2man ack ack.1"
inreplace 'ack.1', '\*(d\-', '\*(d-' # remove a pod2man formatting error
man1.install 'ack.1'
bin.install 'ack'
(prefix+'etc/bash_completion.d').install 'etc/ack.bash_completion.sh'
end