Blame SOURCES/0001-git-subtree-Use-gitexecdir-instead-of-libexecdir.patch

fdd391
From 86c3e2b5188579bff1ff981910462ad5e563044b Mon Sep 17 00:00:00 2001
fdd391
From: Todd Zullinger <tmz@pobox.com>
fdd391
Date: Fri, 4 Jan 2013 11:54:21 -0500
fdd391
Subject: [PATCH] git-subtree: Use gitexecdir instead of libexecdir
fdd391
fdd391
When the git subtree Makefile includes config.mak from the toplevel,
fdd391
it's useful to have the same variables set globally applied.  Using
fdd391
gitexecdir instead of libexecdir respects the global settings more
fdd391
consistently.
fdd391
fdd391
Remove the unused gitdir variable as well.
fdd391
---
fdd391
 contrib/subtree/Makefile |    5 ++---
fdd391
 1 files changed, 2 insertions(+), 3 deletions(-)
fdd391
fdd391
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
fdd391
index 36ae3e4..f87b945 100644
fdd391
--- a/contrib/subtree/Makefile
fdd391
+++ b/contrib/subtree/Makefile
fdd391
@@ -2,9 +2,8 @@
fdd391
 -include ../../config.mak
fdd391
 
fdd391
 prefix ?= /usr/local
fdd391
+gitexecdir ?= $(prefix)/libexec/git-core
fdd391
 mandir ?= $(prefix)/share/man
fdd391
-libexecdir ?= $(prefix)/libexec/git-core
fdd391
-gitdir ?= $(shell git --exec-path)
fdd391
 man1dir ?= $(mandir)/man1
fdd391
 
fdd391
 gitver ?= $(word 3,$(shell git --version))
fdd391
@@ -30,7 +29,7 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH)
fdd391
 doc: $(GIT_SUBTREE_DOC)
fdd391
 
fdd391
 install: $(GIT_SUBTREE)
fdd391
-	$(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir)
fdd391
+	$(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(gitexecdir)
fdd391
 
fdd391
 install-doc: install-man
fdd391
 
fdd391
-- 
fdd391
1.7.6
fdd391