ack: generate man page

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2011-10-09 00:13:06 -05:00
parent f68d3de18f
commit ec8e80381f
1 changed files with 3 additions and 0 deletions

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