diff options
author | 2021-10-18 19:29:01 +1100 | |
---|---|---|
committer | 2021-10-18 19:29:01 +1100 | |
commit | efe9c1e7283e6a0ca5f4fc57a832430e656399ef (patch) | |
tree | 3ebb8d3a0a2cfbe00b382a097dc077a9d7634d42 | |
parent | d5710dd8a7f6efe0694c46d1af6fcc254272a1fc (diff) |
Better rules for generating .po files - multiple jobs have an effect now.
-rw-r--r-- | makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1938,6 +1938,9 @@ $(GENDIR)/mame.pot: FORCE $(SILENT) find plugins -name "*.lua" -print0 | xargs -0 \ xgettext -o $@ --from-code=UTF-8 --language=Lua -k_:1 -k_p:1c,2 -kN_ -kN_p:1c,2 -j -translation: $(GENDIR)/mame.pot - $(SILENT) find language -name "*.po" -print0 | xargs -0 -n 1 -I %% msgmerge -U -N %% $< - $(SILENT) find language -name "*.po" -print0 | xargs -0 -n 1 -I %% msgattrib --clear-fuzzy --empty %% -o %% +%.po: $(GENDIR)/mame.pot + $(SILENT) echo Updating $@ + $(SILENT) msgmerge $(if $(SILENT),-q,) -U -N $@ $< + $(SILENT) msgattrib --clear-fuzzy --empty $@ -o $@ + +translation: $(wildcard language/*/*.po) |