]> git.saurik.com Git - wxWidgets.git/commitdiff
don't merge msw/it.po with wxstd.pot during 'make allmo', it's manually maintained
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 24 Apr 2008 07:54:18 +0000 (07:54 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 24 Apr 2008 07:54:18 +0000 (07:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

locale/Makefile

index c0e0098aaefa0cb39f45e5aad49083faefae5ba4..b2d52697349794f217cc857cbeedb959627c9313 100644 (file)
@@ -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