diff options
| author | Dan Halbert <halbert@adafruit.com> | 2019-11-18 11:04:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-18 11:04:02 -0500 |
| commit | 9000c88965ea3994d653b25407ef0975e19d4373 (patch) | |
| tree | 3156686831411962df3d3438512cfd4e95163bc8 | |
| parent | 8778f367e81706971156c85ab0cc507de1d6ae54 (diff) | |
| parent | 8e9ac593963537f2504efdfeefe28782de68a53f (diff) | |
Merge pull request #2295 from jepler/make-translate-xargs
Makefile: Fix a problem where `xargs` invoked `xgettext` 2x
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ pseudoxml: all-source: locale/circuitpython.pot: all-source - find $(TRANSLATE_SOURCES) -iname "*.c" -print0 | (LC_ALL=C sort -z) | xargs -0 xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale + find $(TRANSLATE_SOURCES) -iname "*.c" -print | (LC_ALL=C sort) | xgettext -f- -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 |
