From d6b7ef05a1a5aa5ff23d20697c3df1c339355831 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Dec 2019 01:56:36 +0100 Subject: use mybabel.py wrapper to avoid PYTHONPATH mess --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ba56af56..881d73e6 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ all: locale template # Extract translateable strings from jinja2 templates. locale/messages.pot: template/*.j2 common/*.j2 common/*.j2.inc - PYTHONPATH=".:./inc" $(pybabel) extract -F locale/babel.map -o locale/messages.pot . + $(python) inc/mybabel.py $(pybabel) extract -F locale/babel.map -o locale/messages.pot . # Update translation (.po) files with new strings. .PHONY: locale-update -- cgit v1.2.3