xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Leak/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1# Generated file; do not modify.
2subdir('Detector')
3
4sdbusplus_current_path = 'xyz/openbmc_project/State/Leak'
5
6generated_markdown += custom_target(
7    'xyz/openbmc_project/State/Leak/Detector__markdown'.underscorify(),
8    input: [ '../../../../../yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml', '../../../../../yaml/xyz/openbmc_project/State/Leak/Detector.interface.yaml',  ],
9    output: [ 'Detector.md' ],
10    depend_files: sdbusplusplus_depfiles,
11    command: [
12        sdbuspp_gen_meson_prog, '--command', 'markdown',
13        '--output', meson.current_build_dir(),
14        '--tool', sdbusplusplus_prog,
15        '--directory', meson.current_source_dir() / '../../../../../yaml',
16        'xyz/openbmc_project/State/Leak/Detector',
17    ],
18    install: should_generate_markdown,
19    install_dir: [inst_markdown_dir / sdbusplus_current_path],
20    build_by_default: should_generate_markdown,
21)
22
23generated_registry += custom_target(
24    'xyz/openbmc_project/State/Leak/Detector__registry'.underscorify(),
25    input: [ '../../../../../yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml',  ],
26    output: [ 'Detector.json' ],
27    depend_files: sdbusplusplus_depfiles,
28    command: [
29        sdbuspp_gen_meson_prog, '--command', 'registry',
30        '--output', meson.current_build_dir(),
31        '--tool', sdbusplusplus_prog,
32        '--directory', meson.current_source_dir() / '../../../../../yaml',
33        'xyz/openbmc_project/State/Leak/Detector',
34    ],
35    install: should_generate_registry,
36    install_dir: [inst_registry_dir / sdbusplus_current_path],
37    build_by_default: should_generate_registry,
38)
39
40