From 281e38de7d9ffd963c58062646bc06cca3cdea9f Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 6 Feb 2016 13:12:27 +1000 Subject: [PATCH] PYTHON make variable for using python2, optionally --- auto/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto/Makefile b/auto/Makefile index d6b35e7..ff9dd36 100644 --- a/auto/Makefile +++ b/auto/Makefile @@ -10,6 +10,7 @@ include ../config/version #GLEW_SPLIT_SOURCE = yes SHELL = bash +PYTHON ?= python ### Use git repository for GL extension specifications @@ -118,7 +119,7 @@ $(EXT)/.dummy: $(REGISTRY)/.dummy @echo "--------------------------------------------------------------------" rm -rf $(EXT) $(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST) - $(BIN)/parse_xml.py registry/xml/egl.xml --core core/gl --extensions extensions/gl + $(PYTHON) $(BIN)/parse_xml.py registry/xml/egl.xml --core core/gl --extensions extensions/gl $(BIN)/$(FILTER) $(EXT) ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin) find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \