[Scons-dev] SCons and intltool
Russel Winder
russel at winder.org.uk
Sat May 10 10:50:48 EDT 2014
On Fri, 2014-05-09 at 19:32 +0200, Pawel Tomulik wrote:
[…]
> > I wrote this gettext stuff some day, would be glad to help enhancing it
> > if there is a need. Looking for particular suggestions.
In SConstruct I have:
SConscript('po/SConscript', variant_dir=buildDirectory + '/po',
duplicate=0)
In po/SConscript, I have:
env = Environment(tools = ["default", "gettext"])
env.MOFiles(LINGUAS_FILE=1)
but this causes the mo files to be created in the po directory with the
po files rather than in the build directory of the variant build.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
More information about the Scons-dev
mailing list