xref: /openbmc/pldm/configurations/meson.build (revision 4d25f6a6)
1systemd_system_unit_dir = systemd.get_pkgconfig_variable(
2    'systemdsystemunitdir',
3    define_variable: ['prefix', get_option('prefix')])
4packagedir = join_paths(
5    get_option('prefix'),
6    get_option('datadir'),
7    meson.project_name(),
8)
9
10
11install_subdir('pdr', install_dir: packagedir)
12
13install_subdir('host', install_dir: packagedir)
14
15install_subdir('events', install_dir: packagedir)
16
17if get_option('oem-ibm').enabled()
18    install_subdir('../oem/ibm/configurations/fru', install_dir: packagedir)
19    install_subdir('../oem/ibm/configurations/events', install_dir: packagedir)
20    install_subdir('../oem/ibm/configurations/bios', install_dir: packagedir)
21    install_data('../oem/ibm/configurations/fileTable.json',
22        install_dir: packagedir)
23    install_data('../oem/ibm/configurations/host_eid', install_dir: packagedir)
24endif
25
26