summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorF59JBP0 <ee.jbiondi@ficosa.com>2019-03-29 13:48:51 +0100
committerF59JBP0 <ee.jbiondi@ficosa.com>2019-03-29 13:48:51 +0100
commit7fe3fb480d0286ca9c95641cac690a8bc4da97be (patch)
treec0131593132e5696f826aad4eec7324bf5964470 /Makefile
parentcc2513748eac30796caa25f31ba36cdf47aa2cc3 (diff)
parenta30bbe62944b6e6e791d7472921dae6931b7fce8 (diff)
Merge remote-tracking branch 'yeyeto2788/master'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0c298f0ba..9b7a5a32c 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,8 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(BASEOPTS)
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(BASEOPTS)
+TRANSLATE_SOURCES = extmod lib main.c ports/atmel-samd ports/nrf py shared-bindings shared-module supervisor
+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
help:
@@ -194,7 +196,7 @@ pseudoxml:
all-source:
locale/circuitpython.pot: all-source
- find . -iname "*.c" | xargs xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
+ find $(TRANSLATE_SOURCES) -iname "*.c" | xargs xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
translate: locale/circuitpython.pot
for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --add-location=file locale/circuitpython.pot; done