[PATCH stable] doc: make sure we use our own code for generating man pages

Nicolas Dumazet nicdumz at gmail.com
Thu Jul 22 01:20:51 CDT 2010


On Wed, 21 Jul 2010 17:51:55 +0200
Mads Kiilerich <mads at kiilerich.com> wrote:

> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1279727497 -7200
> # Node ID c2347f4d9b2c875111d4fe0c8f393e26a20e13d2
> # Parent  7188e91800dad219404367fd9b29f72d3d0b7e7a
> doc: make sure we use our own code for generating man pages
> 
> docutils would in some situations pick up its own manpage.py instead of
> doc/manpage.py. Renaming to hgmanpage.py makes it less ambiguous.

Sure, in stable as a0c5f531daab

-Nicolas.

> 
> diff --git a/doc/Makefile b/doc/Makefile
> --- a/doc/Makefile
> +++ b/doc/Makefile
> @@ -24,7 +24,7 @@
>  	mv $@.tmp $@
>  
>  %: %.txt common.txt
> -	$(PYTHON) runrst manpage --halt warning \
> +	$(PYTHON) runrst hgmanpage --halt warning \
>  	  --strip-elements-with-class htmlonly $*.txt $*
>  
>  %.html: %.txt common.txt
> diff --git a/doc/manpage.py b/doc/hgmanpage.py
> rename from doc/manpage.py
> rename to doc/hgmanpage.py
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


-- 
Nicolas Dumazet — NicDumZ


More information about the Mercurial-devel mailing list