Deepak Kodihalli | 6e51e37 | 2020-06-19 03:49:07 -0500 | [diff] [blame] | 1 | systemd_system_unit_dir = systemd.get_pkgconfig_variable( |
| 2 | 'systemdsystemunitdir', |
| 3 | define_variable: ['prefix', get_option('prefix')]) |
| 4 | packagedir = join_paths( |
| 5 | get_option('prefix'), |
| 6 | get_option('datadir'), |
| 7 | meson.project_name(), |
| 8 | ) |
| 9 | |
Deepak Kodihalli | 4548c62 | 2020-06-19 04:53:24 -0500 | [diff] [blame] | 10 | |
| 11 | install_subdir('pdr', install_dir: packagedir) |
Sampa Misra | 579a34a | 2020-06-19 09:34:12 -0500 | [diff] [blame] | 12 | |
| 13 | install_subdir('host', install_dir: packagedir) |
Deepak Kodihalli | 1f58401 | 2020-06-22 02:54:24 -0500 | [diff] [blame] | 14 | |
| 15 | install_subdir('events', install_dir: packagedir) |
Tom Joseph | a792b21 | 2020-08-12 10:48:26 +0530 | [diff] [blame] | 16 | |
| 17 | if 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) |
Manojkiran Eda | a907a58 | 2021-01-19 14:28:06 +0530 | [diff] [blame] | 20 | install_subdir('../oem/ibm/configurations/bios', install_dir: packagedir) |
Tom Joseph | a792b21 | 2020-08-12 10:48:26 +0530 | [diff] [blame] | 21 | install_data('../oem/ibm/configurations/fileTable.json', |
| 22 | install_dir: packagedir) |
| 23 | install_data('../oem/ibm/configurations/host_eid', install_dir: packagedir) |
| 24 | endif |
| 25 | |