diff 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
line wrap: on
line diff
--- a/doc/Makefile	Wed Apr 03 11:21:27 2019 -0700
+++ b/doc/Makefile	Thu Apr 04 19:06:48 2019 +0200
@@ -6,7 +6,7 @@
 PREFIX=/usr/local
 MANDIR=$(PREFIX)/share/man
 INSTALL=install -c -m 644
-PYTHON=python
+PYTHON?=python
 RSTARGS=
 
 export HGENCODING=UTF-8