xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Shutdown/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('Inventory')
3subdir('Power')
4subdir('ThermalEvent')
5
6sdbusplus_current_path = 'xyz/openbmc_project/State/Shutdown'
7
8generated_markdown += custom_target(
9    'xyz/openbmc_project/State/Shutdown/Inventory__markdown'.underscorify(),
10    input: [ '../../../../../yaml/xyz/openbmc_project/State/Shutdown/Inventory.errors.yaml',  ],
11    output: [ 'Inventory.md' ],
12    depend_files: sdbusplusplus_depfiles,
13    command: [
14        sdbuspp_gen_meson_prog, '--command', 'markdown',
15        '--output', meson.current_build_dir(),
16        '--tool', sdbusplusplus_prog,
17        '--directory', meson.current_source_dir() / '../../../../../yaml',
18        'xyz/openbmc_project/State/Shutdown/Inventory',
19    ],
20    install: should_generate_markdown,
21    install_dir: [inst_markdown_dir / sdbusplus_current_path],
22    build_by_default: should_generate_markdown,
23)
24
25generated_markdown += custom_target(
26    'xyz/openbmc_project/State/Shutdown/Power__markdown'.underscorify(),
27    input: [ '../../../../../yaml/xyz/openbmc_project/State/Shutdown/Power.errors.yaml',  ],
28    output: [ 'Power.md' ],
29    depend_files: sdbusplusplus_depfiles,
30    command: [
31        sdbuspp_gen_meson_prog, '--command', 'markdown',
32        '--output', meson.current_build_dir(),
33        '--tool', sdbusplusplus_prog,
34        '--directory', meson.current_source_dir() / '../../../../../yaml',
35        'xyz/openbmc_project/State/Shutdown/Power',
36    ],
37    install: should_generate_markdown,
38    install_dir: [inst_markdown_dir / sdbusplus_current_path],
39    build_by_default: should_generate_markdown,
40)
41
42generated_markdown += custom_target(
43    'xyz/openbmc_project/State/Shutdown/ThermalEvent__markdown'.underscorify(),
44    input: [ '../../../../../yaml/xyz/openbmc_project/State/Shutdown/ThermalEvent.errors.yaml',  ],
45    output: [ 'ThermalEvent.md' ],
46    depend_files: sdbusplusplus_depfiles,
47    command: [
48        sdbuspp_gen_meson_prog, '--command', 'markdown',
49        '--output', meson.current_build_dir(),
50        '--tool', sdbusplusplus_prog,
51        '--directory', meson.current_source_dir() / '../../../../../yaml',
52        'xyz/openbmc_project/State/Shutdown/ThermalEvent',
53    ],
54    install: should_generate_markdown,
55    install_dir: [inst_markdown_dir / sdbusplus_current_path],
56    build_by_default: should_generate_markdown,
57)
58
59