From 7e8404a7a8030e4bc649cfd2eb2dc97b77bf2317 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 9 Feb 2012 19:37:09 -0600 Subject: git: put all of 'contrib' in one place Signed-off-by: Jack Nagel --- Library/Formula/git.rb | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'Library/Formula/git.rb') diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index a65f96595..cb5808b7c 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -50,14 +50,9 @@ class Git < Formula "LDFLAGS=#{ENV.ldflags}", "install" - # Install the Git bash completion file. - # Put it into the Cellar so that it gets upgraded along with git upgrades. + # install the completion script first because it is inside 'contrib' (prefix+'etc/bash_completion.d').install 'contrib/completion/git-completion.bash' - - # Install emacs support. - (share+'doc/git-core/contrib').install 'contrib/emacs' - # Some people like the stuff in the contrib folder - (share+'git').install 'contrib' + (share+'git-core').install 'contrib' # We could build the manpages ourselves, but the build process depends # on many other packages, and is somewhat crazy, this way is easier. @@ -69,11 +64,8 @@ class Git < Formula Bash completion has been installed to: #{etc}/bash_completion.d - Emacs support has been installed to: - #{HOMEBREW_PREFIX}/share/doc/git-core/contrib/emacs - - The rest of "contrib" is installed to: - #{HOMEBREW_PREFIX}/share/git/contrib + The 'contrib' directory has been installed to: + #{HOMEBREW_PREFIX}/share/git-core/contrib EOS end end -- cgit v1.2.3