mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
16 lines
397 B
Meson
16 lines
397 B
Meson
unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
|
|
prefixdir = get_option('prefix')
|
|
bindir = join_paths(prefixdir, get_option('bindir'))
|
|
|
|
unit_conf = configuration_data()
|
|
unit_conf.set('bindir', bindir)
|
|
|
|
service_file = configure_file(
|
|
input : 'espeakup.service.in',
|
|
output : 'espeakup.service',
|
|
configuration : unit_conf
|
|
)
|
|
|
|
install_data(service_file,
|
|
install_dir : unitdir
|
|
)
|