Code

Makefile: add install-man rules (quick and normal)
authorMarkus Heidelberg <markus.heidelberg@web.de>
Sun, 2 Nov 2008 17:53:03 +0000 (18:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Nov 2008 04:46:52 +0000 (20:46 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile
INSTALL
Makefile

index e33ddcb250bf14e5374df7b86f54a49ed5f7cb07..c34c1cae2072fa27de32f553866426bbc01436d5 100644 (file)
@@ -87,7 +87,9 @@ man7: $(DOC_MAN7)
 
 info: git.info gitman.info
 
-install: man
+install: install-man
+
+install-man: man
        $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
        $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
        $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
@@ -220,7 +222,9 @@ $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
 install-webdoc : html
        sh ./install-webdoc.sh $(WEBDOC_DEST)
 
-quick-install:
+quick-install: quick-install-man
+
+quick-install-man:
        sh ./install-doc-quick.sh $(DOC_REF) $(DESTDIR)$(mandir)
 
 quick-install-html:
diff --git a/INSTALL b/INSTALL
index a4fd8624bc6550d0553f2271343f4e6b610be103..d1deb0b3c7a9aba961d40fe541490562fee486ac 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -126,8 +126,9 @@ Issues of note:
 
        http://www.kernel.org/pub/software/scm/git/docs/
 
-   There are also "make quick-install-doc" and "make quick-install-html"
-   which install preformatted man pages and html documentation.
+   There are also "make quick-install-doc", "make quick-install-man"
+   and "make quick-install-html" which install preformatted man pages
+   and html documentation.
    This does not require asciidoc/xmlto, but it only works from within
    a cloned checkout of git.git with these two extra branches, and will
    not work for the maintainer for obvious chicken-and-egg reasons.
index 40309e1537aef1475992de110b6c37144a94ad67..220de39914c4df3abf394ad052ebb1fd6f62d3f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1405,6 +1405,9 @@ endif
 install-doc:
        $(MAKE) -C Documentation install
 
+install-man:
+       $(MAKE) -C Documentation install-man
+
 install-html:
        $(MAKE) -C Documentation install-html
 
@@ -1414,6 +1417,9 @@ install-info:
 quick-install-doc:
        $(MAKE) -C Documentation quick-install
 
+quick-install-man:
+       $(MAKE) -C Documentation quick-install-man
+
 quick-install-html:
        $(MAKE) -C Documentation quick-install-html