doc/Makefile: Fix rst2html detection stable
authorMads Kiilerich <mads@kiilerich.com>
Wed, 16 Dec 2009 23:59:50 +0100
branchstable
changeset 10092 f1bf64abcb1b
parent 10086 e388f5ee7bf5
child 10093 a43ae5777221
child 10097 ffa6f2eb934e
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).
doc/Makefile
--- 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