diff 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
line wrap: on
line diff
--- a/doc/Makefile	Fri Sep 04 11:51:28 2009 +0200
+++ b/doc/Makefile	Fri Sep 04 22:26:57 2009 +0200
@@ -20,7 +20,7 @@
 	${PYTHON} gendoc.py > $@
 
 %: %.txt common.txt
-	$(PYTHON) rst2man.py $*.txt > $*
+	$(PYTHON) rst2man.py --strip-elements-with-class htmlonly $*.txt > $*
 
 %.html: %.txt common.txt
 	$(RST2HTML) $*.txt > $*.html