aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-09 19:37:09 -0600
committerJack Nagel2012-02-09 19:37:09 -0600
commit7e8404a7a8030e4bc649cfd2eb2dc97b77bf2317 (patch)
tree5e5a9c49246aba6747ccf04a4a0e0bc5cf3cafab /Library/Formula/git.rb
parentd0fbe1445f77923d513d0baa9510b3289452da54 (diff)
downloadhomebrew-7e8404a7a8030e4bc649cfd2eb2dc97b77bf2317.tar.bz2
git: put all of 'contrib' in one place
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/git.rb')
-rw-r--r--Library/Formula/git.rb16
1 files changed, 4 insertions, 12 deletions
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