##// END OF EJS Templates
makefile: use Python 3 by default when building docs as well...
Martin von Zweigbergk -
r47573:dc101c23 default
parent child Browse files
Show More
@@ -6,7 +6,14 b' GENDOC=gendoc.py ../mercurial/commands.p'
6 PREFIX=/usr/local
6 PREFIX=/usr/local
7 MANDIR=$(PREFIX)/share/man
7 MANDIR=$(PREFIX)/share/man
8 INSTALL=install -m 644
8 INSTALL=install -m 644
9 PYTHON?=python
9 # Default to Python 3.
10 #
11 # Windows ships Python 3 as `python.exe`, which may not be on PATH. py.exe is.
12 ifeq ($(OS),Windows_NT)
13 PYTHON?=py -3
14 else
15 PYTHON?=python3
16 endif
10 RSTARGS=
17 RSTARGS=
11
18
12 export HGENCODING=UTF-8
19 export HGENCODING=UTF-8
General Comments 0
You need to be logged in to leave comments. Login now