From 520870ca2e91952c8fc97770fa5e1517f61b4a92 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 19 Nov 2012 11:07:00 +0000 Subject: [PATCH] Try rst2html.py too to render the docs --- doc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index 4379fb2..5746f34 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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)