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

Re: [PATCH/RFCv4 1/4] Documentation: Preparation for gitweb manpages

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 20, 2011, 00:10 UTC
Message-ID
<201109200210.13772.jnareb@gmail.com>
In-Reply-To
<20110919233703.GF6343@elie>
Thanks a lot for all language fixes.
Nb. I'll respond to other comments separately.
On Tue, 20 Sep 2011, Jonathan Nieder wrote:
> Jakub Narebski wrote:
Show 7 quoted lines
> > This way to build gitweb documentation one can use
> >
> >   make -C gitweb doc
> >
> > or
> >
> >   cd gitweb; make doc
Actually it should read "to build only gitweb documentation"...
Show 14 quoted lines
> Does "make -CDocumentation man html" build the gitweb documentation,
> too (and "make install-doc" install it)?
> 
> [...]
> > --- a/Documentation/Makefile
> > +++ b/Documentation/Makefile
> > @@ -170,6 +170,9 @@ info: git.info gitman.info
> >  
> >  pdf: user-manual.pdf
> >  
> > +GITWEB_DOC = $(filter gitweb.%,$(DOC_HTML) $(DOC_MAN1) $(DOC_MAN5) $(DOC_MAN7))
> > +gitweb-doc: $(GITWEB_DOC)
> 
> Looks like no, alas.

... because of the fact that gitweb.txt is in DOC_MAN1, and gitweb.conf.txt is in DOC_MAN5, then 'make doc' would among others build gitweb documentation. 'make -C Documentation gitweb-doc' / 'make -C gitweb doc' just builds a _subset_ of said documentation.

> 
> Except for that detail, this looks good.

Nb. what is also missing is having links to gitweb(1) and gitweb.conf(5) in git(1) manpages together with the rest.

-- 
Jakub Narebski
Poland
Previous: Jonathan NiederNext: Jakub Narebski
Message 4 of 12 in “Moving gitweb documentation to manpages”
  1. 0/4 Moving gitweb documentation to manpagesJakub Narebski, Sep 18, 2011
  2. 1/4 Documentation: Preparation for gitweb manpagesJakub Narebski, Sep 18, 2011
  3. Jonathan NiederSep 19, 2011
  4. Jakub NarebskiSep 20, 2011
  5. Jakub NarebskiSep 20, 2011
  6. Jonathan NiederSep 20, 2011
  7. Jakub NarebskiSep 20, 2011
  8. 2/4 gitweb: Add manpage for /etc/gitweb.conf (for gitweb documentation)Jakub Narebski, Sep 18, 2011
  9. Jonathan NiederSep 20, 2011
  10. Jakub NarebskiSep 22, 2011
  11. 3/4 gitweb: Add manpage for gitwebJakub Narebski, Sep 18, 2011
  12. 4/4 gitweb: Add gitweb manpages to 'gitweb' package in git.specJakub Narebski, Sep 18, 2011

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.