Mercurial > hg-stable
changeset 10092:f1bf64abcb1b stable
doc/Makefile: Fix rst2html detection
Displaying the output from the failing call to "which" didn't prevent
make from doing stupid things later. We now only search for "rst2html"
and fallback to "rst2html.py". If neither name is found, make will
eventually abort when we try to use $(RST2HTML).
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 16 Dec 2009 23:59:50 +0100 |
parents | e388f5ee7bf5 |
children | a43ae5777221 ffa6f2eb934e |
files | doc/Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/Makefile Wed Dec 16 16:42:58 2009 -0600 +++ b/doc/Makefile Wed Dec 16 23:59:50 2009 +0100 @@ -6,7 +6,7 @@ MANDIR=$(PREFIX)/share/man INSTALL=install -c -m 644 PYTHON=python -RST2HTML=$(shell which rst2html 2> /dev/null || which rst2html.py) +RST2HTML=$(shell which rst2html 2> /dev/null || echo rst2html.py) export LC_ALL=C