X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6a35dc1f64cd06e17ef91d5dd59f9d3b360dd66..7e3204b45cf8e1bb882b314d456e75f2a22850d7:/locale/Makefile?ds=sidebyside diff --git a/locale/Makefile b/locale/Makefile index c0e0098aae..b2d5269734 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -24,7 +24,10 @@ XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -s -j $(MSGFMT) -c -o $@ $< # a PO file must be updated from wxstd.pot to include new translations -%.po: wxstd.pot +# (but not manually maintained platform-specific files like msw/it.po) +$(foreach lang,$(WX_LINGUAS_UPDATE),$(lang).po): wxstd.pot + +%.po: if [ -f $@ ]; then $(MSGMERGE) $@ wxstd.pot > $@.new && mv $@.new $@; else cp wxstd.pot $@; fi # note the extra -kAddToPopUp used for Scintilla files: this is a hack to