aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Kühl2010-03-06 20:24:05 +0100
committerAdam Vandenberg2010-03-09 09:27:02 -0800
commit59f12dda4a844f09ce7a2d37cdeafa44d03ffff2 (patch)
treec7433b2165364e479958a98826bdbeca1b7467aa /Library
parent0dcd53de529ec6cc5a9f072fa9a1e794b165721e (diff)
downloadhomebrew-59f12dda4a844f09ce7a2d37cdeafa44d03ffff2.tar.bz2
Add git html documents.
This way, `git help -w topic` works. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 8f8043319..0fb3c3d72 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -5,6 +5,11 @@ class GitManuals < Formula
md5 '58e0c6b194d989de8f7c4c7193315287'
end
+class GitHtmldocs < Formula
+ url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.0.2.tar.bz2'
+ md5 'a33cd464d4c31e3ef0440e7e8d367f02'
+end
+
class Git < Formula
url 'http://kernel.org/pub/software/scm/git/git-1.7.0.2.tar.bz2'
md5 '76518fa774b36de81d160b85fa4f19c1'
@@ -42,5 +47,7 @@ class Git < Formula
# we could build the manpages ourselves, but the build process depends
# on many other packages, and is somewhat crazy, this way is easier
GitManuals.new.brew { man.install Dir['*'] }
+ doc = share+'doc/git-doc'
+ GitHtmldocs.new.brew { doc.install Dir['*'] }
end
end