use ${PYTHON} var in doc/Makefile as well
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Tue, 24 Jun 2008 09:33:13 +0200
changeset 6724 2e58f1a36046
parent 6682 4fa7701918ed
child 6725 d43707e09b02
child 6789 c1c202e2d45d
use ${PYTHON} var in doc/Makefile as well
doc/Makefile
--- a/doc/Makefile	Mon Jun 16 11:50:33 2008 +0200
+++ b/doc/Makefile	Tue Jun 24 09:33:13 2008 +0200
@@ -4,6 +4,7 @@
 PREFIX=/usr/local
 MANDIR=$(PREFIX)/share/man
 INSTALL=install -c
+PYTHON=python
 
 all: man html
 
@@ -15,7 +16,7 @@
 	touch hg.1.txt
 
 hg.1.gendoc.txt: ../mercurial/commands.py ../mercurial/help.py
-	python gendoc.py > $@
+	${PYTHON} gendoc.py > $@
 
 %: %.xml
 	xmlto man $*.xml ; \