Mercurial > hg
comparison doc/Makefile @ 9626:d1aa5393bef4
doc: add a style sheet to the generated HTML pages
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 21 Oct 2009 23:40:01 +0200 |
parents | f0105f2c424c |
children | 8374f26727de |
comparison
equal
deleted
inserted
replaced
9624:585d2ffe969b | 9626:d1aa5393bef4 |
---|---|
23 %: %.txt common.txt | 23 %: %.txt common.txt |
24 $(PYTHON) rst2man.py --halt warning \ | 24 $(PYTHON) rst2man.py --halt warning \ |
25 --strip-elements-with-class htmlonly $*.txt $* | 25 --strip-elements-with-class htmlonly $*.txt $* |
26 | 26 |
27 %.html: %.txt common.txt | 27 %.html: %.txt common.txt |
28 $(RST2HTML) --halt warning $*.txt $*.html | 28 $(RST2HTML) --halt warning \ |
29 --link-stylesheet --stylesheet-path style.css $*.txt $*.html | |
29 | 30 |
30 MANIFEST: man html | 31 MANIFEST: man html |
31 # tracked files are already in the main MANIFEST | 32 # tracked files are already in the main MANIFEST |
32 $(RM) $@ | 33 $(RM) $@ |
33 for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ | 34 for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \ |