提交 b1a46b70 编写于 作者: M Markus Heidelberg 提交者: Junio C Hamano

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

Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 9f8f1326
...@@ -87,7 +87,9 @@ man7: $(DOC_MAN7) ...@@ -87,7 +87,9 @@ man7: $(DOC_MAN7)
info: git.info gitman.info info: git.info gitman.info
install: man install: install-man
install-man: man
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
$(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
$(INSTALL) -d -m 755 $(DESTDIR)$(man7dir) $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
...@@ -220,7 +222,9 @@ $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt ...@@ -220,7 +222,9 @@ $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
install-webdoc : html install-webdoc : html
sh ./install-webdoc.sh $(WEBDOC_DEST) 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) sh ./install-doc-quick.sh $(DOC_REF) $(DESTDIR)$(mandir)
quick-install-html: quick-install-html:
......
...@@ -126,8 +126,9 @@ Issues of note: ...@@ -126,8 +126,9 @@ Issues of note:
http://www.kernel.org/pub/software/scm/git/docs/ http://www.kernel.org/pub/software/scm/git/docs/
There are also "make quick-install-doc" and "make quick-install-html" There are also "make quick-install-doc", "make quick-install-man"
which install preformatted man pages and html documentation. 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 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 a cloned checkout of git.git with these two extra branches, and will
not work for the maintainer for obvious chicken-and-egg reasons. not work for the maintainer for obvious chicken-and-egg reasons.
......
...@@ -1405,6 +1405,9 @@ endif ...@@ -1405,6 +1405,9 @@ endif
install-doc: install-doc:
$(MAKE) -C Documentation install $(MAKE) -C Documentation install
install-man:
$(MAKE) -C Documentation install-man
install-html: install-html:
$(MAKE) -C Documentation install-html $(MAKE) -C Documentation install-html
...@@ -1414,6 +1417,9 @@ install-info: ...@@ -1414,6 +1417,9 @@ install-info:
quick-install-doc: quick-install-doc:
$(MAKE) -C Documentation quick-install $(MAKE) -C Documentation quick-install
quick-install-man:
$(MAKE) -C Documentation quick-install-man
quick-install-html: quick-install-html:
$(MAKE) -C Documentation quick-install-html $(MAKE) -C Documentation quick-install-html
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册