~cypheon/elfelli

ref: 7ba73dd431ffeaa728cd7b3bbf4a8f8dc7392a6a elfelli/po/SConscript -rw-r--r-- 301 bytes
7ba73dd4 — Johann Rudloff Update SCons files to work with new (>2012) SCons versions. 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- Python -*-

from glob import glob

Import('env')

locales = map(lambda str: str[:-3], glob('*.po'))
for locale in locales:
    subdir = '/%s/LC_MESSAGES' % locale
    mo = env.MOFiles('locale/'+subdir+'/elfelli', locale)
    env.Install(env['destdir']+env['localedir']+subdir, mo)

Default('.')