diff options
| author | Adam Backstrom | 2012-09-24 13:00:46 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-25 06:45:12 -0700 |
| commit | 41606d72daf60bf8ff990310e6490aca91d8d06f (patch) | |
| tree | 2db7dcec9d9e53808eae9dc25488af58eaccf3b7 /Library/Formula | |
| parent | ec11ea3639220aaaaeb80559c3a1f00356adccce (diff) | |
| download | homebrew-41606d72daf60bf8ff990310e6490aca91d8d06f.tar.bz2 | |
git: also install git-subtree
The git-subtree formula was removed by b3a0a433c, as subtree is now
delivered with mainline Git. This commit ensures subtree is available in
the default install. The manpage is not installed.
See #12897.
Closes #15085.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index 1cd145269..41a7ff8fa 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -57,6 +57,14 @@ class Git < Formula system "make", "clean" end + # Install git-subtree + cd 'contrib/subtree' do + system "make", "CC=#{ENV.cc}", + "CFLAGS=#{ENV.cflags}", + "LDFLAGS=#{ENV.ldflags}" + bin.install 'git-subtree' + end + # install the completion script first because it is inside 'contrib' (prefix+'etc/bash_completion.d').install 'contrib/completion/git-completion.bash' (prefix+'etc/bash_completion.d').install 'contrib/completion/git-prompt.sh' |
