aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-cola.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/git-cola.rb')
-rw-r--r--Library/Formula/git-cola.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/git-cola.rb b/Library/Formula/git-cola.rb
index e4d024942..55e42db26 100644
--- a/Library/Formula/git-cola.rb
+++ b/Library/Formula/git-cola.rb
@@ -11,7 +11,7 @@ class GitCola < Formula
depends_on 'pyqt'
- if build.include? 'with-docs'
+ if build.with? "docs"
# these are needed to build man pages
depends_on 'asciidoc'
depends_on 'xmlto'
@@ -20,7 +20,7 @@ class GitCola < Formula
def install
system "make", "prefix=#{prefix}", "install"
- if build.include? 'with-docs'
+ if build.with? "docs"
system "make", "-C", "share/doc/git-cola",
"-f", "Makefile.asciidoc",
"prefix=#{prefix}",