aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel John2013-06-04 21:47:59 +0200
committerSamuel John2013-06-04 22:07:15 +0200
commit9f70104b84dd4d6a64b8613375ba284f394f141b (patch)
treef123fb5569819b1ddf93f3b679d869bc278da51e /Library/Formula
parent3e38d802b77f0b22fea727a4a8acbaf1439b37ff (diff)
downloadhomebrew-9f70104b84dd4d6a64b8613375ba284f394f141b.tar.bz2
mercurial: Remove outdated doc option
make doc is only needed for --HEAD and shipped else.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mercurial.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb
index 2254d7233..d75f1ba09 100644
--- a/Library/Formula/mercurial.rb
+++ b/Library/Formula/mercurial.rb
@@ -8,7 +8,7 @@ class Mercurial < Formula
head 'http://selenic.com/repo/hg', :using => :hg
depends_on :python # its written in Python, so this is a hard dep
- depends_on 'docutils' => :python if build.head? or build.include? 'doc'
+ depends_on 'docutils' => :python if build.head?
def install
python do
@@ -20,7 +20,7 @@ class Mercurial < Formula
end
# Man pages come pre-built in source releases
- system "make doc" if build.head? or build.include? 'doc'
+ system "make doc" if build.head?
system "make", "PREFIX=#{prefix}", "install"
# Install some contribs