--- a/doc/Makefile Wed Apr 21 01:34:12 2010 +0200
+++ b/doc/Makefile Thu Apr 22 09:57:04 2010 +0200
@@ -6,7 +6,6 @@
MANDIR=$(PREFIX)/share/man
INSTALL=install -c -m 644
PYTHON=python
-RST2HTML=$(shell which rst2html 2> /dev/null || echo rst2html.py)
export LANGUAGE=C
export LC_ALL=C
@@ -25,11 +24,11 @@
mv $@.tmp $@
%: %.txt common.txt
- $(PYTHON) rst2man.py --halt warning \
+ $(PYTHON) runrst manpage --halt warning \
--strip-elements-with-class htmlonly $*.txt $*
%.html: %.txt common.txt
- $(RST2HTML) --halt warning \
+ $(PYTHON) runrst html --halt warning \
--link-stylesheet --stylesheet-path style.css $*.txt $*.html
MANIFEST: man html