diff options
author | Adam Tkac <atkac@redhat.com> | 2013-02-04 22:06:05 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-05 15:23:19 -0800 |
commit | d86848228f46fad4c20bdf0bdcca124061dc56b2 (patch) | |
tree | 0623c19cd2e450ca26e9599a71525ef06f8dcf97 /contrib/subtree | |
parent | 111dc0eea07d4843a9ed86e4069b899224a4489b (diff) | |
download | git-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/Makefile | 4 |
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 $^ |