18 lines
467 B
Meson
18 lines
467 B
Meson
|
s6 = get_option('s6')
|
||
|
|
||
|
s6_config_data = configuration_data()
|
||
|
s6_config_data.set('LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir'), meson.project_name()))
|
||
|
|
||
|
s6_config_data_file = configure_file(
|
||
|
input: 'run.in',
|
||
|
output: 'run',
|
||
|
configuration: s6_config_data
|
||
|
)
|
||
|
|
||
|
if s6
|
||
|
install_data(
|
||
|
[s6_config_data_file, 'type', 'dependencies'],
|
||
|
install_dir: join_paths(get_option('sysconfdir'), 's6', 'sv', 'tufmanager')
|
||
|
)
|
||
|
endif
|