summaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2013-07-30 08:16:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-30 14:50:23 (GMT)
commit8e943c248ac50e7b4743019ff1ed69ac72a48fff (patch)
tree2308da5579641c5557fe3621b6e649bfd7bbc954 /contrib/subtree
parent8f6a3e5d71fa1800c3f330bab2b6b6399ec7aea7 (diff)
downloadgit-8e943c248ac50e7b4743019ff1ed69ac72a48fff.zip
git-8e943c248ac50e7b4743019ff1ed69ac72a48fff.tar.gz
git-8e943c248ac50e7b4743019ff1ed69ac72a48fff.tar.bz2
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>
Diffstat (limited to 'contrib/subtree')
-rw-r--r--contrib/subtree/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index b507505..435b2de 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