Updated to git-subtree v4.0

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Stuart Carnie 2011-02-26 10:31:15 -07:00 committed by Adam Vandenberg
parent b9ed89a714
commit bb59b4035e

View file

@ -2,13 +2,14 @@ require 'formula'
class GitSubtree <Formula
homepage 'https://github.com/apenwarr/git-subtree'
url 'https://github.com/apenwarr/git-subtree/zipball/v0.3'
url 'https://github.com/apenwarr/git-subtree/zipball/v0.4'
version '0.4'
md5 '904f325d2208ad5ca542e7bb56c50f9c'
head 'git://github.com/apenwarr/git-subtree.git'
def options
[
['--build-docs', "Build man pages using asciidoc and xmlto"]
]
[['--build-docs', "Build man pages using asciidoc and xmlto"]]
end
if ARGV.include? '--build-docs'
@ -17,9 +18,6 @@ class GitSubtree <Formula
depends_on 'xmlto'
end
# Not depending on git because people might have it
# installed through another means
def install
if ARGV.include? '--build-docs'
system "make doc"