File: meson.build

package info (click to toggle)
mpdscribble 0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 968 kB
  • sloc: cpp: 3,803; sh: 164; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
systemd_system_unit_dir = get_option('systemd_system_unit_dir')
if systemd_system_unit_dir == ''
  systemd = dependency('systemd', required: false)
  if systemd.found()
      systemd_system_unit_dir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
  endif
endif
if systemd_system_unit_dir == ''
  systemd_system_unit_dir = join_paths(get_option('prefix'), 'lib', 'systemd', 'system')
endif

configure_file(
  input: 'mpdscribble.service.in',
  output: 'mpdscribble.service',
  configuration: systemd_unit_conf,
  install_dir: systemd_system_unit_dir,
)