From: Adam Tkac Date: Tue, 5 Feb 2013 04:06:05 +0000 (-0600) Subject: contrib/subtree: honor DESTDIR X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d86848228f46fad4c20bdf0bdcca124061dc56b2;p=git.git contrib/subtree: honor DESTDIR Teach git-subtree's Makefile to honor DESTDIR. Signed-off-by: Adam Tkac Signed-off-by: David A. Greene Signed-off-by: Junio C Hamano --- 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 $^