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

From: Jakub Narebski <[email-masked]>
Date: Tue, 20 Sep 2011 02:10:12 +0200

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:

> > 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"...

> 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