~cypheon/elfelli

ref: ea773c78374eda750923e007ec274c9ea134e8d8 elfelli/po/SConscript -rw-r--r-- 296 bytes
ea773c78 — Johann Rudloff Use "Variables" instead of "Options" to fix SCons warning. 11 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.MO('locale/'+subdir+'/elfelli', locale)
    env.Install(env['destdir']+env['localedir']+subdir, mo)

Default('.')