From fe77818ebc6e3578e4f36a72d06d7715d767d265 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Thu, 19 Dec 2019 08:48:28 -0300 Subject: [PATCH] Makefile: use PYTHON variable instead of python3 (#1101) * Makefile: use PYTHON variable instead of python3 * Makefile: make Python call silent Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b23ce492..b1140afa 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ serve: .PHONY: progress progress: - @python3 -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \ + @$(PYTHON) -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \ $(shell msgcat *.po */*.po | msgattrib --translated | grep -c '^msgid') \ $(shell msgcat *.po */*.po | grep -c '^msgid')