@matheusbsbs / matheus-bagliano / commits / b1a46b70b3
Fork 0

Makefile: add install-man rules (quick and normal)

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Markus Heidelberg committed Nov 2, 2008 at 18:53 UTC b1a46b70b3dcf139c05160e1420e915358b9f947
3 files changed +15 -4
Documentation/Makefile
+6 -2
@@ -87,7 +87,9 @@ man7: $(DOC_MAN7)
87
88 info: git.info gitman.info
89
90 -install: man
90 +install: install-man
91 +
92 +install-man: man
93 $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
94 $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
95 $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
@@ -220,7 +222,9 @@ $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
222 install-webdoc : html
223 sh ./install-webdoc.sh $(WEBDOC_DEST)
224
223 -quick-install:
225 +quick-install: quick-install-man
226 +
227 +quick-install-man:
228 sh ./install-doc-quick.sh $(DOC_REF) $(DESTDIR)$(mandir)
229
230 quick-install-html:
INSTALL
+3 -2
@@ -126,8 +126,9 @@ Issues of note:
126
127 http://www.kernel.org/pub/software/scm/git/docs/
128
129 - There are also "make quick-install-doc" and "make quick-install-html"
130 - which install preformatted man pages and html documentation.
129 + There are also "make quick-install-doc", "make quick-install-man"
130 + and "make quick-install-html" which install preformatted man pages
131 + and html documentation.
132 This does not require asciidoc/xmlto, but it only works from within
133 a cloned checkout of git.git with these two extra branches, and will
134 not work for the maintainer for obvious chicken-and-egg reasons.
Makefile
+6
@@ -1405,6 +1405,9 @@ endif
1405 install-doc:
1406 $(MAKE) -C Documentation install
1407
1408 +install-man:
1409 + $(MAKE) -C Documentation install-man
1410 +
1411 install-html:
1412 $(MAKE) -C Documentation install-html
1413
@@ -1414,6 +1417,9 @@ install-info:
1417 quick-install-doc:
1418 $(MAKE) -C Documentation quick-install
1419
1420 +quick-install-man:
1421 + $(MAKE) -C Documentation quick-install-man
1422 +
1423 quick-install-html:
1424 $(MAKE) -C Documentation quick-install-html
1425