xref: /openbmc/phosphor-logging/dist/meson.build (revision ff5f42fa)
1systemd_system_unit_dir = dependency('systemd').get_variable(
2    'systemdsystemunitdir')
3
4install_data(
5    ['xyz.openbmc_project.Logging.service',
6     'xyz.openbmc_project.Syslog.Config.service'],
7    install_dir: systemd_system_unit_dir,
8)
9
10install_data(
11    'busconfig/phosphor-logging.conf',
12    'busconfig/phosphor-rsyslog-config.conf',
13    install_dir: get_option('datadir') / 'dbus-1' / 'system.d',
14)
15
16dbus_system_bus_services_dir = dependency('dbus-1').get_variable(
17    'system_bus_services_dir',
18    pkgconfig_define: ['prefix', get_option('prefix')])
19install_data(
20    'dbus/xyz.openbmc_project.Logging.service',
21    install_dir: dbus_system_bus_services_dir)
22