comparison doc/Makefile @ 9422:ec26d6986d85

doc: add TOC to hg.1.html and hgrc.5.html
author Martin Geisler <mg@lazybytes.net>
date Fri, 04 Sep 2009 22:26:57 +0200
parents a82db54bc3be
children 2f7f6e43d52b
comparison
equal deleted inserted replaced
9421:c8e4dc218aaf 9422:ec26d6986d85
18 18
19 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py 19 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
20 ${PYTHON} gendoc.py > $@ 20 ${PYTHON} gendoc.py > $@
21 21
22 %: %.txt common.txt 22 %: %.txt common.txt
23 $(PYTHON) rst2man.py $*.txt > $* 23 $(PYTHON) rst2man.py --strip-elements-with-class htmlonly $*.txt > $*
24 24
25 %.html: %.txt common.txt 25 %.html: %.txt common.txt
26 $(RST2HTML) $*.txt > $*.html 26 $(RST2HTML) $*.txt > $*.html
27 27
28 MANIFEST: man html 28 MANIFEST: man html