Skip to content

Commit

Permalink
Makefile: add install-man rules (quick and normal)
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
marcows authored and gitster committed Nov 3, 2008
1 parent 9f8f132 commit b1a46b7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit b1a46b7

Please sign in to comment.