git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jesper L. Nielsen" <lyager@gmail.com>
To: git@vger.kernel.org, gitster@pobox.com
Cc: "Jesper L. Nielsen" <lyager@gmail.com>
Subject: [PATCH] For git-subtree, when installing docs (make install-doc), create man1 folder first.
Date: Thu, 13 Dec 2012 21:09:36 +0100	[thread overview]
Message-ID: <1355429376-4192-1-git-send-email-lyager@gmail.com> (raw)

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

             reply	other threads:[~2012-12-13 20:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 20:09 Jesper L. Nielsen [this message]
2012-12-15 18:07 ` [PATCH] For git-subtree, when installing docs (make install-doc), create man1 folder first Junio C Hamano
     [not found] ` <7v8v91y97f.fsf@alter.siamese.dyndns.org>
2013-01-01  3:01   ` greened
2013-01-01  3:06 ` greened

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355429376-4192-1-git-send-email-lyager@gmail.com \
    --to=lyager@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).