From 55135bf4cfd35f7b732a8b2b93fb47f4c05f3834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 24 Apr 2008 07:56:14 +0000 Subject: [PATCH] don't merge msw/it.po with wxstd.pot during 'make allmo', it's manually maintained git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- locale/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/locale/Makefile b/locale/Makefile index 5e122b02c2..39883865c3 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.po to include new translations -%.po: wxstd.po +# (but not manually maintained platform-specific files like msw/it.po) +$(foreach lang,$(WX_LINGUAS_UPDATE),$(lang).po): wxstd.po + +%.po: if [ -f $@ ]; then $(MSGMERGE) $@ wxstd.po > $@.new && mv $@.new $@; else cp wxstd.po $@; fi wxstd.po: