doc/Makefile
changeset 6724 2e58f1a36046
parent 6486 960bc707ea10
child 6943 2ca70663ded3
--- 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 ; \