Mercurial > hg
comparison doc/Makefile @ 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 | fa99480d5135 |
children | a43ae5777221 |
comparison
equal
deleted
inserted
replaced
10086:e388f5ee7bf5 | 10092:f1bf64abcb1b |
---|---|
4 GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py ../help/*.txt | 4 GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py ../help/*.txt |
5 PREFIX=/usr/local | 5 PREFIX=/usr/local |
6 MANDIR=$(PREFIX)/share/man | 6 MANDIR=$(PREFIX)/share/man |
7 INSTALL=install -c -m 644 | 7 INSTALL=install -c -m 644 |
8 PYTHON=python | 8 PYTHON=python |
9 RST2HTML=$(shell which rst2html 2> /dev/null || which rst2html.py) | 9 RST2HTML=$(shell which rst2html 2> /dev/null || echo rst2html.py) |
10 | 10 |
11 export LC_ALL=C | 11 export LC_ALL=C |
12 | 12 |
13 all: man html | 13 all: man html |
14 | 14 |