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