comparison doc/Makefile @ 42058:ec7b478f1bf8

packaging: allow to run make with python3 Use "?=", otherwise the variable cannot be set from environment.
author Philippe Pepiot <philippe.pepiot@logilab.fr>
date Thu, 04 Apr 2019 19:06:48 +0200
parents d80d48928eb1
children 640bae94f2f3
comparison
equal deleted inserted replaced
42057:566daffc607d 42058:ec7b478f1bf8
4 GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py \ 4 GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py \
5 ../mercurial/help/*.txt ../hgext/*.py ../hgext/*/__init__.py 5 ../mercurial/help/*.txt ../hgext/*.py ../hgext/*/__init__.py
6 PREFIX=/usr/local 6 PREFIX=/usr/local
7 MANDIR=$(PREFIX)/share/man 7 MANDIR=$(PREFIX)/share/man
8 INSTALL=install -c -m 644 8 INSTALL=install -c -m 644
9 PYTHON=python 9 PYTHON?=python
10 RSTARGS= 10 RSTARGS=
11 11
12 export HGENCODING=UTF-8 12 export HGENCODING=UTF-8
13 13
14 all: man html 14 all: man html