comparison doc/Makefile @ 11639:a0c5f531daab stable

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.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 21 Jul 2010 17:51:37 +0200
parents cbe400a8e217
children 99e8dd56e244
comparison
equal deleted inserted replaced
11638:79231258503b 11639:a0c5f531daab
22 hg.1.gendoc.txt: $(GENDOC) 22 hg.1.gendoc.txt: $(GENDOC)
23 ${PYTHON} gendoc.py > $@.tmp 23 ${PYTHON} gendoc.py > $@.tmp
24 mv $@.tmp $@ 24 mv $@.tmp $@
25 25
26 %: %.txt common.txt 26 %: %.txt common.txt
27 $(PYTHON) runrst manpage --halt warning \ 27 $(PYTHON) runrst hgmanpage --halt warning \
28 --strip-elements-with-class htmlonly $*.txt $* 28 --strip-elements-with-class htmlonly $*.txt $*
29 29
30 %.html: %.txt common.txt 30 %.html: %.txt common.txt
31 $(PYTHON) runrst html --halt warning \ 31 $(PYTHON) runrst html --halt warning \
32 --link-stylesheet --stylesheet-path style.css $*.txt $*.html 32 --link-stylesheet --stylesheet-path style.css $*.txt $*.html