From: Jesper L. Nielsen Date: Tue, 5 Feb 2013 04:06:06 +0000 (-0600) Subject: contrib/subtree: make the manual directory if needed X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8165be064e51112f74ea06e48c2e09e13097335a;p=git.git 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 Signed-off-by: David A. Greene Signed-off-by: Junio C Hamano --- diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile index 36ae3e4f0..b50750565 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)