contrib/subtree: make the manual directory if needed
authorJesper L. Nielsen <lyager@gmail.com>
Tue, 5 Feb 2013 04:06:06 +0000 (22:06 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2013 23:23:41 +0000 (15:23 -0800)
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>
contrib/subtree/Makefile

index 36ae3e4f0a92a994e8927f6e4c8c3bd5cfa6c040..b50750565ff0499dcbdf2f2b9802f109a830d797 100644 (file)
@@ -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)