зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
111dc0eea0
Коммит
d86848228f
|
@ -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 $^
|
||||
|
|
Загрузка…
Ссылка в новой задаче