For git-subtree, when installing docs (make install-doc), create man1 folder first.
PATCH 1/1 For git-subtree, when installing docs (make install-doc), create man1 folder first.
From: "Jesper L. Nielsen" <[email protected]>
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
--- contrib/subtree/Makefile | 1 + 1 file changed, 1 insertion(+)
contrib/subtree/Makefile +1 -0
@@ -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)
Signature · 1 line
1.8.0.2
Quoted 8 lines · Jesper L. Nielsen
From: "Jesper L. Nielsen" <[email protected]>
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.
Quoted 7 lines
Best Regards
JesperSigned-off-by Jesper L. Nielsen <[email protected]>--- contrib/subtree/Makefile | 1 + 1 file changed, 1 insertion(+)
This is a good first step in the right direction, I think.
Shouldn't the install targets take DESTDIR into account like the main Makefile does, though?
As to the patch submission, everything below "---" line looks sane, but please check how others write commit log messages by browsing a handful of entries in "git log --no-merges" output and notice the difference (the details are found in Documentation/SubmittingPatches).
Thanks.
Quoted 12 lines
contrib/subtree/Makefile +1
-0@@ -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)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Junio C Hamano
Quoted 8 lines · Jesper L. Nielsen
From: "Jesper L. Nielsen" <[email protected]>
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.
Quoted 7 lines
Quoted 5 lines
Best Regards
JesperSigned-off-by Jesper L. Nielsen <[email protected]>---
Thanks. David, Ack?
Yep. I can add it to my queue which I'll send to you tomorrow. Otherwise, feel free to apply it to your copy.
-David
Quoted 2 lines · Jesper L. Nielsen
So, small patch to create the folder first in the
Makefile. Hope everything is right with the patch and submitting of the patch.
I've applied this to my local copy and will send it to the list for integration.
Thanks for fixing this!
-David