diff 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 462a26756f70
children 7521e6d18057
line wrap: on
line diff
--- a/Makefile	Wed Apr 03 11:21:27 2019 -0700
+++ b/Makefile	Thu Apr 04 19:06:48 2019 +0200
@@ -5,7 +5,7 @@
 # % make PREFIX=/opt/ install
 
 export PREFIX=/usr/local
-PYTHON=python
+PYTHON?=python
 $(eval HGROOT := $(shell pwd))
 HGPYTHONS ?= $(HGROOT)/build/pythons
 PURE=