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 <sojkam1@fel.cvut.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michal Sojka committed
Jul 30, 2013 at 10:16 UTC
8e943c248ac50e7b4743019ff1ed69ac72a48fff
1 file changed
+1
contrib/subtree/Makefile
+1
@@ -30,6 +30,7 @@ $(GIT_SUBTREE): $(GIT_SUBTREE_SH)
30
doc: $(GIT_SUBTREE_DOC)
31
32
install: $(GIT_SUBTREE)
33
+ $(INSTALL) -d -m 755 $(DESTDIR)$(libexecdir)
34
$(INSTALL) -m 755 $(GIT_SUBTREE) $(DESTDIR)$(libexecdir)
35
36
install-doc: install-man