xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('Report')
3subdir('ReportManager')
4subdir('Trigger')
5subdir('TriggerManager')
6
7sdbusplus_current_path = 'xyz/openbmc_project/Telemetry'
8
9generated_markdown += custom_target(
10    'xyz/openbmc_project/Telemetry/Report__markdown'.underscorify(),
11    input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/Report.interface.yaml',  ],
12    output: [ 'Report.md' ],
13    depend_files: sdbusplusplus_depfiles,
14    command: [
15        sdbuspp_gen_meson_prog, '--command', 'markdown',
16        '--output', meson.current_build_dir(),
17        '--tool', sdbusplusplus_prog,
18        '--directory', meson.current_source_dir() / '../../../../yaml',
19        'xyz/openbmc_project/Telemetry/Report',
20    ],
21    install: should_generate_markdown,
22    install_dir: [inst_markdown_dir / sdbusplus_current_path],
23    build_by_default: should_generate_markdown,
24)
25
26generated_markdown += custom_target(
27    'xyz/openbmc_project/Telemetry/ReportManager__markdown'.underscorify(),
28    input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml',  ],
29    output: [ 'ReportManager.md' ],
30    depend_files: sdbusplusplus_depfiles,
31    command: [
32        sdbuspp_gen_meson_prog, '--command', 'markdown',
33        '--output', meson.current_build_dir(),
34        '--tool', sdbusplusplus_prog,
35        '--directory', meson.current_source_dir() / '../../../../yaml',
36        'xyz/openbmc_project/Telemetry/ReportManager',
37    ],
38    install: should_generate_markdown,
39    install_dir: [inst_markdown_dir / sdbusplus_current_path],
40    build_by_default: should_generate_markdown,
41)
42
43generated_markdown += custom_target(
44    'xyz/openbmc_project/Telemetry/Trigger__markdown'.underscorify(),
45    input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/Trigger.interface.yaml',  ],
46    output: [ 'Trigger.md' ],
47    depend_files: sdbusplusplus_depfiles,
48    command: [
49        sdbuspp_gen_meson_prog, '--command', 'markdown',
50        '--output', meson.current_build_dir(),
51        '--tool', sdbusplusplus_prog,
52        '--directory', meson.current_source_dir() / '../../../../yaml',
53        'xyz/openbmc_project/Telemetry/Trigger',
54    ],
55    install: should_generate_markdown,
56    install_dir: [inst_markdown_dir / sdbusplus_current_path],
57    build_by_default: should_generate_markdown,
58)
59
60generated_markdown += custom_target(
61    'xyz/openbmc_project/Telemetry/TriggerManager__markdown'.underscorify(),
62    input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/TriggerManager.interface.yaml',  ],
63    output: [ 'TriggerManager.md' ],
64    depend_files: sdbusplusplus_depfiles,
65    command: [
66        sdbuspp_gen_meson_prog, '--command', 'markdown',
67        '--output', meson.current_build_dir(),
68        '--tool', sdbusplusplus_prog,
69        '--directory', meson.current_source_dir() / '../../../../yaml',
70        'xyz/openbmc_project/Telemetry/TriggerManager',
71    ],
72    install: should_generate_markdown,
73    install_dir: [inst_markdown_dir / sdbusplus_current_path],
74    build_by_default: should_generate_markdown,
75)
76
77