aboutsummaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2013-02-04 22:06:05 -0600
committerJunio C Hamano <gitster@pobox.com>2013-02-05 15:23:19 -0800
commitd86848228f46fad4c20bdf0bdcca124061dc56b2 (patch)
tree0623c19cd2e450ca26e9599a71525ef06f8dcf97 /contrib/subtree
parent111dc0eea07d4843a9ed86e4069b899224a4489b (diff)
downloadgit-d86848228f46fad4c20bdf0bdcca124061dc56b2.tar.gz
git-d86848228f46fad4c20bdf0bdcca124061dc56b2.tar.xz
contrib/subtree: honor DESTDIR
Teach git-subtree's Makefile to honor DESTDIR. Signed-off-by: Adam Tkac <atkac@redhat.com> Signed-off-by: David A. Greene <greened@obbligato.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree')
-rw-r--r--contrib/subtree/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index 05cdd5c9b..36ae3e4f0 100644
--- a/contrib/subtree/Makefile
+++ b/contrib/subtree/Makefile
@@ -30,12 +30,12 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH)
doc: $(GIT_SUBTREE_DOC)
install: $(GIT_SUBTREE)
- $(INSTALL) -m 755 $(GIT_SUBTREE) $(libexecdir)
+ $(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir)
install-doc: install-man
install-man: $(GIT_SUBTREE_DOC)
- $(INSTALL) -m 644 $^ $(man1dir)
+ $(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
$(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)
xmlto -m $(MANPAGE_NORMAL_XSL) man $^