asciidoc: use options dsl

This commit is contained in:
Adam Vandenberg committed 2012-08-09 16:21:05 -07:00
1 parent 0061792285
commit 87bbbc25a0
1 file changed
+2 -2
+2 -2
View File
@@ -7,11 +7,11 @@ class Asciidoc < Formula
head 'https://code.google.com/p/asciidoc/', :using => :hg
depends_on :autoconf if ARGV.build_head?
depends_on :autoconf if build.head?
depends_on 'docbook'
def install
system "autoconf" if ARGV.build_head?
system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}"
# otherwise OS X's xmllint bails out