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>
Jesper L. Nielsen committed
Feb 4, 2013 at 22:06 UTC
8165be064e51112f74ea06e48c2e09e13097335a
1 file changed
+1
contrib/subtree/Makefile
+1
@@ -35,6 +35,7 @@ install: $(GIT_SUBTREE)
35
install-doc: install-man
36
37
install-man: $(GIT_SUBTREE_DOC)
38
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
39
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
40
41
$(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)