From ab43e2a3a237a7b53e0c31f8d28fd55fc70c962b Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Wed, 18 Dec 2019 16:55:16 -0300 Subject: [PATCH 1/2] Makefile: use PYTHON variable instead of python3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b23ce492d..0a6d9225a 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') From 20bfd240289c9a16d9dd609d8dbd22d26625a586 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Wed, 18 Dec 2019 20:52:29 -0300 Subject: [PATCH 2/2] 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 0a6d9225a..b1140afa9 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ serve: .PHONY: progress progress: - $(PYTHON) -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')