94592c1406
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
17 lines
412 B
Meson
17 lines
412 B
Meson
systemd_system_unit_dir = get_option('systemd_system_unit_dir')
|
|
if systemd_system_unit_dir == ''
|
|
systemd_system_unit_dir = join_paths(get_option('prefix'), 'lib', 'systemd', 'system')
|
|
endif
|
|
|
|
install_data(
|
|
'mpd.socket',
|
|
install_dir: systemd_system_unit_dir,
|
|
)
|
|
|
|
configure_file(
|
|
input: 'mpd.service.in',
|
|
output: 'mpd.service',
|
|
configuration: systemd_unit_conf,
|
|
install_dir: systemd_system_unit_dir,
|
|
)
|