Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 8e943c2

Browse files
wentasahgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8f6a3e5 commit 8e943c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/subtree/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH)
3030
doc: $(GIT_SUBTREE_DOC)
3131

3232
install: $(GIT_SUBTREE)
33+
$(INSTALL) -d -m 755 $(DESTDIR)$(libexecdir)
3334
$(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir)
3435

3536
install-doc: install-man

0 commit comments

Comments
 (0)