summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorGravatarGravatar cracyc <cracyc@users.noreply.github.com>2017-09-28 09:30:15 -0500
committerGravatarGravatar Vas Crabb <cuavas@users.noreply.github.com>2017-09-29 01:49:22 +1000
commit8ca63912a27f30db6c38b3f71de864565fbd5b8c (patch)
tree5863d3f4bea5ab409e77ae3044b388ea8d845cc1 /makefile
parent6c37bae992edb6976755488e04d9d7767b79080d (diff)
add lua translation to makefile and update translations
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 145b21c701e..7b156207702 100644
--- a/makefile
+++ b/makefile
@@ -1712,7 +1712,7 @@ shaders: bgfx-tools
translation:
$(SILENT) echo Generating mame.pot
- $(SILENT) find src -iname "*.cpp" | xargs xgettext --from-code=UTF-8 -k_ -k__ -o mame.pot
- $(SILENT) find language -iname "*.po" | xargs -n 1 -I %% msgmerge -U -N %% mame.pot
- $(SILENT) find language -iname "*.po" | xargs -n 1 -I %% msgattrib --clear-fuzzy --empty %% -o %%
+ $(SILENT) find src plugins -iname "*.cpp" -print0 -o -iname "*.lua" -print0 | xargs -0 xgettext --from-code=UTF-8 -k_ -k__ -j -o mame.pot
+ $(SILENT) find language -iname "*.po" -print0 | xargs -0 -n 1 -I %% msgmerge -U -N %% mame.pot
+ $(SILENT) find language -iname "*.po" -print0 | xargs -0 -n 1 -I %% msgattrib --clear-fuzzy --empty %% -o %%