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

2013-01-01 Thread Junio C Hamano
David A. Greene gree...@obbligato.org writes:

 From: Jesper L. Nielsen lya...@gmail.com

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

 Author:Jesper L. Nielsen lya...@gmail.com

 Signed-off-by:Jesper L. Nielsen lya...@gmail.com

 Signed-off-by: David A. Greene gree...@obbligato.org
 ---
  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)
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2013-01-01 Thread greened
Junio C Hamano gits...@pobox.com writes:

 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).

Ok, will fix.

 -Dave
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2012-12-31 Thread David A. Greene
From: Jesper L. Nielsen lya...@gmail.com

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

Author:Jesper L. Nielsen lya...@gmail.com

Signed-off-by:Jesper L. Nielsen lya...@gmail.com

Signed-off-by: David A. Greene gree...@obbligato.org
---
 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)
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
 
 $(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html