mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Revert "Better rules for generating .po files - multiple jobs have an effect now."
Need to find a better way of doing this without causing .po files to be
rebuilt on every build. The commit is still there for reference.
This reverts commit efe9c1e728
.
This commit is contained in:
parent
efe9c1e728
commit
f7a8ad4fc7
1 changed files with 3 additions and 6 deletions
9
makefile
9
makefile
|
@ -1938,9 +1938,6 @@ $(GENDIR)/mame.pot: FORCE
|
||||||
$(SILENT) find plugins -name "*.lua" -print0 | xargs -0 \
|
$(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
|
xgettext -o $@ --from-code=UTF-8 --language=Lua -k_:1 -k_p:1c,2 -kN_ -kN_p:1c,2 -j
|
||||||
|
|
||||||
%.po: $(GENDIR)/mame.pot
|
translation: $(GENDIR)/mame.pot
|
||||||
$(SILENT) echo Updating $@
|
$(SILENT) find language -name "*.po" -print0 | xargs -0 -n 1 -I %% msgmerge -U -N %% $<
|
||||||
$(SILENT) msgmerge $(if $(SILENT),-q,) -U -N $@ $<
|
$(SILENT) find language -name "*.po" -print0 | xargs -0 -n 1 -I %% msgattrib --clear-fuzzy --empty %% -o %%
|
||||||
$(SILENT) msgattrib --clear-fuzzy --empty $@ -o $@
|
|
||||||
|
|
||||||
translation: $(wildcard language/*/*.po)
|
|
||||||
|
|
Loading…
Reference in a new issue