xref: /openbmc/phosphor-dbus-interfaces/gen/org/open_power/OCC/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('Device')
3subdir('PassThrough')
4subdir('Status')
5
6sdbusplus_current_path = 'org/open_power/OCC'
7
8generated_markdown += custom_target(
9    'org/open_power/OCC/Device__markdown'.underscorify(),
10    input: [ '../../../../yaml/org/open_power/OCC/Device.errors.yaml',  ],
11    output: [ 'Device.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        'org/open_power/OCC/Device',
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    'org/open_power/OCC/PassThrough__markdown'.underscorify(),
27    input: [ '../../../../yaml/org/open_power/OCC/PassThrough.interface.yaml',  ],
28    output: [ 'PassThrough.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        'org/open_power/OCC/PassThrough',
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    'org/open_power/OCC/Status__markdown'.underscorify(),
44    input: [ '../../../../yaml/org/open_power/OCC/Status.interface.yaml',  ],
45    output: [ 'Status.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        'org/open_power/OCC/Status',
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