summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-08-30 16:12:20 -0700
committerScott Shawcroft <scott@tannewt.org>2018-08-30 16:12:20 -0700
commit64a333eeafc35975c6ffab025974f6029ddea201 (patch)
treee28baddb8941a2f6514556ec4d522db6271a2342 /Makefile
parent2a2699bef618e704bcdeca51ae351404690821cb (diff)
Clean up duplicates and have make translate produce a stable ordering.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ca6647a0e..94d2e461e 100644
--- a/Makefile
+++ b/Makefile
@@ -194,10 +194,10 @@ pseudoxml:
all-source:
locale/circuitpython.pot: all-source
- find . -iname "*.c" | xargs xgettext -L C --keyword=translate -o circuitpython.pot -p locale
+ find . -iname "*.c" | xargs xgettext -L C --keyword=translate -F -o circuitpython.pot -p locale
translate: locale/circuitpython.pot
- for po in $(shell ls locale/*.po); do msgmerge -U $$po locale/circuitpython.pot; done
+ for po in $(shell ls locale/*.po); do msgmerge -U -F $$po locale/circuitpython.pot; done
check-translate: locale/circuitpython.pot $(wildcard locale/*.po)
$(PYTHON) tools/check_translations.py $^