Amithash Prasad | d120d2e | 2025-02-10 14:44:57 -0800 | [diff] [blame] | 1 | # Generated file; do not modify. |
| 2 | subdir('UnifiedSEL') |
| 3 | |
| 4 | sdbusplus_current_path = 'com/meta/IPMI' |
| 5 | |
| 6 | generated_markdown += custom_target( |
| 7 | 'com/meta/IPMI/UnifiedSEL__markdown'.underscorify(), |
| 8 | input: ['../../../../yaml/com/meta/IPMI/UnifiedSEL.events.yaml'], |
| 9 | output: ['UnifiedSEL.md'], |
| 10 | depend_files: sdbusplusplus_depfiles, |
| 11 | command: [ |
| 12 | sdbuspp_gen_meson_prog, |
| 13 | '--command', |
| 14 | 'markdown', |
| 15 | '--output', |
| 16 | meson.current_build_dir(), |
| 17 | '--tool', |
| 18 | sdbusplusplus_prog, |
| 19 | '--directory', |
| 20 | meson.current_source_dir() / '../../../../yaml', |
| 21 | 'com/meta/IPMI/UnifiedSEL', |
| 22 | ], |
| 23 | install: should_generate_markdown, |
| 24 | install_dir: [inst_markdown_dir / sdbusplus_current_path], |
| 25 | build_by_default: should_generate_markdown, |
| 26 | ) |
| 27 | |
| 28 | generated_registry += custom_target( |
| 29 | 'com/meta/IPMI/UnifiedSEL__registry'.underscorify(), |
| 30 | input: ['../../../../yaml/com/meta/IPMI/UnifiedSEL.events.yaml'], |
| 31 | output: ['UnifiedSEL.json'], |
| 32 | depend_files: sdbusplusplus_depfiles, |
| 33 | command: [ |
| 34 | sdbuspp_gen_meson_prog, |
| 35 | '--command', |
| 36 | 'registry', |
| 37 | '--output', |
| 38 | meson.current_build_dir(), |
| 39 | '--tool', |
| 40 | sdbusplusplus_prog, |
| 41 | '--directory', |
| 42 | meson.current_source_dir() / '../../../../yaml', |
| 43 | 'com/meta/IPMI/UnifiedSEL', |
| 44 | ], |
| 45 | install: should_generate_registry, |
| 46 | install_dir: [inst_registry_dir / sdbusplus_current_path], |
| 47 | build_by_default: should_generate_registry, |
| 48 | ) |
| 49 | |