~cypheon/elfelli

ref: 7ba73dd431ffeaa728cd7b3bbf4a8f8dc7392a6a elfelli/data/SConscript -rw-r--r-- 744 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
14
15
16
17
18
19
20
21
# -*- Python -*-

Import('env')

data_files = ['elfelli-logo.svg',
              'negative.svg',
              'positive.svg',
              'negative-plate.svg',
              'positive-plate.svg',
              'ui.xml']

env.Install(env['destdir']+env['datadir'], data_files)

env.Install(env['destdir']+env['xdg_datadir']+'/applications', 'elfelli.desktop')

if env['build_icons']:
    env.Command('elfelli_48.png', 'elfelli-logo.svg', 'rsvg -w 48 -h 48 -f png $SOURCE $TARGET')
    env.Alias('icons', 'elfelli_48.png')

env.InstallAs(env['destdir']+env['xdg_datadir']+'/icons/hicolor/scalable/apps/elfelli.svg', 'elfelli-logo.svg')
env.InstallAs(env['destdir']+env['xdg_datadir']+'/icons/hicolor/48x48/apps/elfelli.png', 'elfelli_48.png')