From 8e943c248ac50e7b4743019ff1ed69ac72a48fff Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 30 Jul 2013 10:16:09 +0200 Subject: contrib/subtree: Fix make install target If the libexec directory doesn't exist, git-subtree gets installed as $prefix/share/libexec/git-core file. This patch creates the directory before installing git-subtree file into it. Signed-off-by: Michal Sojka Signed-off-by: Junio C Hamano --- contrib/subtree/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib') diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile index b50750565f..435b2dea29 100644 --- a/contrib/subtree/Makefile +++ b/contrib/subtree/Makefile @@ -30,6 +30,7 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH) doc: $(GIT_SUBTREE_DOC) install: $(GIT_SUBTREE) + $(INSTALL) -d -m 755 $(DESTDIR)$(libexecdir) $(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir) install-doc: install-man -- cgit v1.2.1