2020-08-06 15:45:16 -04:00
|
|
|
runit_config_data = configuration_data()
|
|
|
|
runit_config_data.set('LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir'), meson.project_name()))
|
|
|
|
|
|
|
|
runit_config_data_file = configure_file(
|
|
|
|
input: 'run.in',
|
|
|
|
output: 'run',
|
|
|
|
configuration: runit_config_data
|
|
|
|
)
|
|
|
|
|
2020-08-08 19:22:04 -04:00
|
|
|
runit = find_program ('runit', required: false)
|
|
|
|
|
|
|
|
if runit.found()
|
2020-08-06 15:45:16 -04:00
|
|
|
install_data(
|
|
|
|
runit_config_data_file,
|
|
|
|
install_dir: join_paths(get_option('sysconfdir'), 'runit', 'sv', 'tufmanager')
|
|
|
|
)
|
|
|
|
endif
|