git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] allow installation of man and html doc from the man and html branches

From
Michael J Gruber <michaeljgruber+gmane@fastmail.fm>
Date
Sep 9, 2008, 20:44 UTC
Message-ID
<1082ea29216aba63f5d2b13763eeceebe46e0691.1221035620.git.michaeljgruber+gmane@fastmail.fm>
In-Reply-To
<cover.1221035620.git.michaeljgruber+gmane@fastmail.fm>

This patch introduces a make target "quick-install-html" which installs the html documentation from the branch origin/html, without the need for asciidoc/xmlto. This is analogous to the existing "quick-install-doc" target for the man pages.

We advertise these targets in the INSTALL file now.
Signed-off-by: Michael J Gruber <michaeljgruber+gmane@fastmail.fm>
---
 Documentation/Makefile |    4 ++++
 INSTALL                |    5 +++++
 Makefile               |    3 +++
 3 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 62269e3..ded0e40 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -44,6 +44,7 @@ MANPAGE_XSL = callouts.xsl
 INSTALL?=install
 RM ?= rm -f
 DOC_REF = origin/man
+HTML_REF = origin/html
 
 infodir?=$(prefix)/share/info
 MAKEINFO=makeinfo
@@ -222,4 +223,7 @@ install-webdoc : html
 quick-install:
 	sh ./install-doc-quick.sh $(DOC_REF) $(DESTDIR)$(mandir)
 
+quick-install-html:
+	sh ./install-doc-quick.sh $(HTML_REF) $(DESTDIR)$(htmldir)
+
 .PHONY: .FORCE-GIT-VERSION-FILE
diff --git a/INSTALL b/INSTALL
index 2bae53f..7c13473 100644
--- a/INSTALL
+++ b/INSTALL
@@ -117,6 +117,11 @@ Issues of note:
 
 	http://www.kernel.org/pub/software/scm/git/docs/
 
+   There is also "make quick-install-doc" and "make quick-install-html"
+   which installs man pages resp. html documentation from these branches.
+   This does not require asciidoc/xmlto, but it works from within
+   a checkout of git.git only.
+
    It has been reported that docbook-xsl version 1.72 and 1.73 are
    buggy; 1.72 misformats manual pages for callouts, and 1.73 needs
    the patch in contrib/patches/docbook-xsl-manpages-charmap.patch
diff --git a/Makefile b/Makefile
index f4c31c8..eeaf6d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1401,6 +1401,9 @@ install-info:
 quick-install-doc:
 	$(MAKE) -C Documentation quick-install
 
+quick-install-html:
+	$(MAKE) -C Documentation quick-install-html
+
 
 
 ### Maintainer's dist rules
-- 
1.6.0.1.285.g1070
Previous: Michael J GruberNext: Michael J Gruber
Message 2 of 4 in “Assist installing documentation with incomplete build chain”
  1. 0/2 Assist installing documentation with incomplete build chainMichael J Gruber, Sep 10, 2008
  2. 1/2 allow installation of man and html doc from the man and html branchesMichael J Gruber, Sep 9, 2008
  3. 2/2 separate build targets for man and html documentationMichael J Gruber, Sep 10, 2008
  4. Michael J GruberSep 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.