changeset 6724:2e58f1a36046

use ${PYTHON} var in doc/Makefile as well
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 24 Jun 2008 09:33:13 +0200
parents 4fa7701918ed
children d43707e09b02 c1c202e2d45d
files doc/Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 ; \