blob: c7ddf0c3c1b56fea4e8355f7171bfe76f6a4ed13 [file] [log] [blame]
Deepak Kodihalli6e51e372020-06-19 03:49:07 -05001systemd_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
Deepak Kodihalli4548c622020-06-19 04:53:24 -050010
11install_subdir('pdr', install_dir: packagedir)
Sampa Misra579a34a2020-06-19 09:34:12 -050012
13install_subdir('host', install_dir: packagedir)
Deepak Kodihalli1f584012020-06-22 02:54:24 -050014
15install_subdir('events', install_dir: packagedir)
Tom Josepha792b212020-08-12 10:48:26 +053016
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_data('../oem/ibm/configurations/fileTable.json',
21 install_dir: packagedir)
22 install_data('../oem/ibm/configurations/host_eid', install_dir: packagedir)
23endif
24