summaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorJesper L. Nielsen <lyager@gmail.com>2013-02-05 04:06:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-05 23:23:41 (GMT)
commit8165be064e51112f74ea06e48c2e09e13097335a (patch)
treec2035182105d0ea240772a5a9061dd6addabc212 /contrib/subtree
parentd86848228f46fad4c20bdf0bdcca124061dc56b2 (diff)
downloadgit-8165be064e51112f74ea06e48c2e09e13097335a.zip
git-8165be064e51112f74ea06e48c2e09e13097335a.tar.gz
git-8165be064e51112f74ea06e48c2e09e13097335a.tar.bz2
contrib/subtree: make the manual directory if needed
Before install git-subtree documentation, make sure the manpage directory exists. Signed-off-by: Jesper L. Nielsen <lyager@gmail.com> Signed-off-by: David A. Greene <greened@obbligato.org> 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 36ae3e4..b507505 100644
--- a/contrib/subtree/Makefile
+++ b/contrib/subtree/Makefile
@@ -35,6 +35,7 @@ install: $(GIT_SUBTREE)
install-doc: install-man
install-man: $(GIT_SUBTREE_DOC)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
$(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)