Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 6/8] Make the Manual Directory if Needed

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:37

"David A. Greene" [off-list ref] writes:
quoted hunk
From: "Jesper L. Nielsen" <redacted>

Before install git-subtree documentation, make sure the manpage
directory exists.

Author:    Jesper L. Nielsen [off-list ref]

Signed-off-by:    Jesper L. Nielsen <redacted>

Signed-off-by: David A. Greene <redacted>
---
 contrib/subtree/Makefile |    1 +
 1 file changed, 1 insertion(+)
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index 36ae3e4..52d6fb9 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)
+	mkdir -p $(man1dir)
We seem to use "$(INSTALL) -d -m 755" for this kind of thing (see
the Documentation/Makefile).
 	$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
 
 $(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help