From 59f12dda4a844f09ce7a2d37cdeafa44d03ffff2 Mon Sep 17 00:00:00 2001 From: Martin Kühl Date: Sat, 6 Mar 2010 20:24:05 +0100 Subject: Add git html documents. This way, `git help -w topic` works. Signed-off-by: Adam Vandenberg --- Library/Formula/git.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3