xref: /openbmc/phosphor-dbus-interfaces/gen/com/meta/Hardware/meson.build (revision 4c5876f0f69c06b47c931e3224c1c34b126623b5)
1# Generated file; do not modify.
2subdir('BMC')
3subdir('Harma')
4
5sdbusplus_current_path = 'com/meta/Hardware'
6
7generated_markdown += custom_target(
8    'com/meta/Hardware/BMC__markdown'.underscorify(),
9    input: ['../../../../yaml/com/meta/Hardware/BMC.interface.yaml'],
10    output: ['BMC.md'],
11    depend_files: sdbusplusplus_depfiles,
12    command: [
13        sdbuspp_gen_meson_prog,
14        '--command',
15        'markdown',
16        '--output',
17        meson.current_build_dir(),
18        '--tool',
19        sdbusplusplus_prog,
20        '--directory',
21        meson.current_source_dir() / '../../../../yaml',
22        'com/meta/Hardware/BMC',
23    ],
24    install: should_generate_markdown,
25    install_dir: [inst_markdown_dir / sdbusplus_current_path],
26    build_by_default: should_generate_markdown,
27)
28
29generated_markdown += custom_target(
30    'com/meta/Hardware/Harma__markdown'.underscorify(),
31    input: ['../../../../yaml/com/meta/Hardware/Harma.interface.yaml'],
32    output: ['Harma.md'],
33    depend_files: sdbusplusplus_depfiles,
34    command: [
35        sdbuspp_gen_meson_prog,
36        '--command',
37        'markdown',
38        '--output',
39        meson.current_build_dir(),
40        '--tool',
41        sdbusplusplus_prog,
42        '--directory',
43        meson.current_source_dir() / '../../../../yaml',
44        'com/meta/Hardware/Harma',
45    ],
46    install: should_generate_markdown,
47    install_dir: [inst_markdown_dir / sdbusplus_current_path],
48    build_by_default: should_generate_markdown,
49)
50
51