aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-25 23:33:56 -0700
committerAdam Vandenberg2012-08-25 23:33:56 -0700
commitd6741c66222f653449fa2e374012d1ec9a93f096 (patch)
tree254241121e78cf5f221e82b685671ac5eeb9744e /Library/Formula
parent58fb0839e6c0f5ae917fe22c3c84581078b3f716 (diff)
downloadhomebrew-d6741c66222f653449fa2e374012d1ec9a93f096.tar.bz2
robodoc: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/robodoc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/robodoc.rb b/Library/Formula/robodoc.rb
index 97e5c4644..a7d02ed0f 100644
--- a/Library/Formula/robodoc.rb
+++ b/Library/Formula/robodoc.rb
@@ -7,13 +7,13 @@ class Robodoc < Formula
head 'https://github.com/gumpu/ROBODoc.git'
- if ARGV.build_head?
+ build.head?
depends_on :automake
depends_on :libtool
end
def install
- system "autoreconf", "-f", "-i" if ARGV.build_head?
+ system "autoreconf", "-f", "-i" if build.head?
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end