Try rst2html.py too to render the docs

This commit is contained in:
Daniele Varrazzo 2012-11-19 11:07:00 +00:00
parent 580307f79e
commit 520870ca2e

View File

@ -1,3 +1,4 @@
RST2HTML = $(shell which rst2html || which rst2html.py)
RSTCSS = $(shell python -c 'import docutils.writers.html4css1 as m; print m.Writer.default_stylesheet_path')
RSTOPTS = --stylesheet-path=style.css,$(RSTCSS) --initial-header-level=2
@ -10,7 +11,7 @@ all : html
html : $(HTML)
%.html: %.rst style.css
rst2html $(RSTOPTS) $< $@
$(RST2HTML) $(RSTOPTS) $< $@
clean:
rm -f $(HTML)