mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
use ${PYTHON} var in doc/Makefile as well
This commit is contained in:
parent
33a268f759
commit
331f22c437
@ -4,6 +4,7 @@ HTML=$(SOURCES:%.txt=%.html)
|
||||
PREFIX=/usr/local
|
||||
MANDIR=$(PREFIX)/share/man
|
||||
INSTALL=install -c
|
||||
PYTHON=python
|
||||
|
||||
all: man html
|
||||
|
||||
@ -15,7 +16,7 @@ hg.1.txt: hg.1.gendoc.txt
|
||||
touch hg.1.txt
|
||||
|
||||
hg.1.gendoc.txt: ../mercurial/commands.py ../mercurial/help.py
|
||||
python gendoc.py > $@
|
||||
${PYTHON} gendoc.py > $@
|
||||
|
||||
%: %.xml
|
||||
xmlto man $*.xml ; \
|
||||
|
Loading…
Reference in New Issue
Block a user