From: Robin Dunn Date: Wed, 9 Aug 2006 18:54:14 +0000 (+0000) Subject: Change def of WX_LINGUAS so it works on OS X. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/49638afa163704aeb48c1614c16b822ac3a41137 Change def of WX_LINGUAS so it works on OS X. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/locale/Makefile b/locale/Makefile index e1cf2938c0..5e122b02c2 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -7,8 +7,8 @@ # being called with this dir as the cwd, but if we generate this file # with configure an explicit path should be specified -- RL. -WX_LINGUAS := `ls *.po */*.po 2> /dev/null | sed -n 's/\(wxstd\)\?\.po//p'` -WX_LINGUAS_UPDATE := `ls *.po 2> /dev/null | sed -n 's/\(wxstd\)\?\.po//p'` +WX_LINGUAS := $(shell ls *.po */*.po 2> /dev/null | sed 's/wxstd.po//g' | sed 's/.po//g') +WX_LINGUAS_UPDATE := $(shell ls *.po 2> /dev/null | sed 's/wxstd.po//g' | sed 's/.po//g') # the programs we use (TODO: use configure to detect them) MSGFMT=msgfmt --verbose