From d6741c66222f653449fa2e374012d1ec9a93f096 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 25 Aug 2012 23:33:56 -0700 Subject: robodoc: use new dsl --- Library/Formula/robodoc.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3