aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2018-01-15 23:45:51 +0000
committerng0 <ng0@n0.is>2018-01-15 23:45:51 +0000
commit96ee7de667e64a646514af670d78544a806d46ba (patch)
tree8beeac81649e9b8dd98cdace69ce832b55c3c70b
parente94df1009044de07f80129c141d9448bc57d7bde (diff)
downloadwww-96ee7de667e64a646514af670d78544a806d46ba.tar.gz
www-96ee7de667e64a646514af670d78544a806d46ba.zip
Makefile: PYTHONPATH should be appended, not replaced!
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7e61447..d8103ce8 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ all: locale template
6 6
7# Extract translateable strings from jinga2 templates. 7# Extract translateable strings from jinga2 templates.
8locale/messages.pot: *.j2 common/*.j2.inc 8locale/messages.pot: *.j2 common/*.j2.inc
9 env PYTHONPATH="." pybabel extract -F locale/babel.map -o locale/messages.pot . 9 env PYTHONPATH="$PYTHONPATH:." pybabel extract -F locale/babel.map -o locale/messages.pot .
10 10
11# Update translation (.po) files with new strings. 11# Update translation (.po) files with new strings.
12locale-update: locale/messages.pot 12locale-update: locale/messages.pot