forked from enlightenment/enlightenment
43 lines
1.0 KiB
Meson
43 lines
1.0 KiB
Meson
config_standard = ['e.src', 'e_bindings.src',
|
|
'module.battery.src',
|
|
'module.cpufreq.src',
|
|
'module.fileman.src',
|
|
'module.ibar.src',
|
|
'module.ibox.src',
|
|
'module.pager.src',
|
|
'module.temperature.src',
|
|
'module.conf.src'
|
|
]
|
|
|
|
config_standard_output = ['e.cfg', 'e_bindings.cfg',
|
|
'module.battery.cfg',
|
|
'module.cpufreq.cfg',
|
|
'module.fileman.cfg',
|
|
'module.ibar.cfg',
|
|
'module.ibox.cfg',
|
|
'module.pager.cfg',
|
|
'module.temperature.cfg',
|
|
'module.conf.cfg'
|
|
]
|
|
|
|
i = 0
|
|
foreach cd: config_standard
|
|
custom_target(' '.join(['config_dist_standard', cd]),
|
|
input: cd,
|
|
command: [eet, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
|
|
output: config_standard_output[i],
|
|
install: true,
|
|
install_dir: join_paths(dir_config, 'standard')
|
|
)
|
|
i += 1
|
|
endforeach
|
|
|
|
config_dist_standard = ['enlightenment-standard.png', 'profile.desktop']
|
|
install_data(config_dist_standard,
|
|
install_dir: join_paths(dir_config, 'standard')
|
|
)
|
|
foreach cd: config_standard_output
|
|
out = join_paths(dir_config, 'standard', cd)
|
|
meson.add_install_script(chmod, 'a+r', out)
|
|
endforeach
|