git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] For git-subtree, when installing docs (make install-doc), create man1 folder first.

From
JNJesper L. Nielsen <lyager@gmail.com>
Date
Dec 13, 2012, 20:09 UTC
Message-ID
<1355429376-4192-1-git-send-email-lyager@gmail.com>
From: "Jesper L. Nielsen" <lyager@gmail.com>
Hi..
I installed Git subtree and discovered that the if the man1dir doesn't exist the man-page for Git Subtree is just called man1.
So, small patch to create the folder first in the Makefile. Hope everything is right with the patch and submitting of the patch.

Best Regards Jesper

Signed-off-by: Jesper L. Nielsen <lyager@gmail.com>
---
 contrib/subtree/Makefile | 1 +
 1 file changed, 1 insertion(+)
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index 05cdd5c..a341cf4 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)
 	$(INSTALL) -m 644 $^ $(man1dir)
 
 $(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)
-- 
1.8.0.2
Next: Junio C Hamano
Message 1 of 4 in “For git-subtree, when installing docs (make install-doc), create man1 folder first.”
  1. For git-subtree, when installing docs (make install-doc), create man1 folder first.Jesper L. Nielsen, Dec 13, 2012
  2. Junio C HamanoDec 15, 2012
  3. greened@obbligato.orgJan 1, 2013
  4. greened@obbligato.orgJan 1, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.