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

Re: [Proposed] Externalize man/html ref for quick-install-man and quick-install-html

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 11, 2017, 23:27 UTC
Message-ID
<xmqqindc4zhp.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<000801d3713a$2f1259d0$8d370d70$@nexbridge.com>
"Randall S. Becker" <rsbecker@nexbridge.com> writes:
Show 22 quoted lines
> diff --git a/Documentation/Makefile b/Documentation/Makefile
> index 3e39e28..4f1e6df 100644
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -39,6 +39,8 @@ MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
>  MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT))
>  MAN_HTML = $(patsubst %.txt,%.html,$(MAN_TXT))
>
> +GIT_MAN_REF = master
> +
>  OBSOLETE_HTML += everyday.html
>  OBSOLETE_HTML += git-remote-helpers.html
>  DOC_HTML = $(MAN_HTML) $(OBSOLETE_HTML)
> @@ -415,14 +417,14 @@ require-manrepo::
>         then echo "git-manpages repository must exist at $(MAN_REPO)"; exit
> 1; fi
>
>  quick-install-man: require-manrepo
> -       '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(MAN_REPO)
> $(DESTDIR)$(mandir)
> +       '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(MAN_REPO)
> $(DESTDIR)$(mandir) $(GIT_MAN_REF)

I suspect that this patch is line-wrapped and unusable for the final application, but I think what the change wants to do makes total sense---we are already letting the builder specify where the other repositories for docs are, and it is not such a big stretch to let them also say which branch or tag they want their documentation from.

Previous: Randall S. BeckerNext: Randall S. Becker
Message 2 of 8 in “[Proposed] Externalize man/html ref for quick-install-man and quick-install-html”
  1. Randall S. BeckerDec 9, 2017
  2. Junio C HamanoDec 11, 2017
  3. Randall S. BeckerDec 12, 2017
  4. Jacob KellerDec 12, 2017
  5. Junio C HamanoDec 12, 2017
  6. Randall S. BeckerDec 12, 2017
  7. Junio C HamanoDec 12, 2017
  8. Randall S. BeckerDec 12, 2017

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.