xref: /openbmc/phosphor-dbus-interfaces/gen/com/intel/Control/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
1991b2b8bSVernon Mauery# Generated file; do not modify.
2991b2b8bSVernon Mauerysubdir('NMISource')
3*7f154004SPatrick Williamssubdir('OCOTShutdownPolicy')
4*7f154004SPatrick Williams
5*7f154004SPatrick Williamssdbusplus_current_path = 'com/intel/Control'
6*7f154004SPatrick Williams
7*7f154004SPatrick Williamsgenerated_markdown += custom_target(
8991b2b8bSVernon Mauery    'com/intel/Control/NMISource__markdown'.underscorify(),
9991b2b8bSVernon Mauery    input: [ '../../../../yaml/com/intel/Control/NMISource.interface.yaml',  ],
10991b2b8bSVernon Mauery    output: [ 'NMISource.md' ],
11991b2b8bSVernon Mauery    depend_files: sdbusplusplus_depfiles,
12991b2b8bSVernon Mauery    command: [
13991b2b8bSVernon Mauery        sdbuspp_gen_meson_prog, '--command', 'markdown',
14991b2b8bSVernon Mauery        '--output', meson.current_build_dir(),
15991b2b8bSVernon Mauery        '--tool', sdbusplusplus_prog,
16991b2b8bSVernon Mauery        '--directory', meson.current_source_dir() / '../../../../yaml',
17991b2b8bSVernon Mauery        'com/intel/Control/NMISource',
18991b2b8bSVernon Mauery    ],
19*7f154004SPatrick Williams    install: should_generate_markdown,
20*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
21*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
22991b2b8bSVernon Mauery)
23991b2b8bSVernon Mauery
24*7f154004SPatrick Williamsgenerated_markdown += custom_target(
25991b2b8bSVernon Mauery    'com/intel/Control/OCOTShutdownPolicy__markdown'.underscorify(),
26991b2b8bSVernon Mauery    input: [ '../../../../yaml/com/intel/Control/OCOTShutdownPolicy.interface.yaml',  ],
27991b2b8bSVernon Mauery    output: [ 'OCOTShutdownPolicy.md' ],
28991b2b8bSVernon Mauery    depend_files: sdbusplusplus_depfiles,
29991b2b8bSVernon Mauery    command: [
30991b2b8bSVernon Mauery        sdbuspp_gen_meson_prog, '--command', 'markdown',
31991b2b8bSVernon Mauery        '--output', meson.current_build_dir(),
32991b2b8bSVernon Mauery        '--tool', sdbusplusplus_prog,
33991b2b8bSVernon Mauery        '--directory', meson.current_source_dir() / '../../../../yaml',
34991b2b8bSVernon Mauery        'com/intel/Control/OCOTShutdownPolicy',
35991b2b8bSVernon Mauery    ],
36*7f154004SPatrick Williams    install: should_generate_markdown,
37*7f154004SPatrick Williams    install_dir: [inst_markdown_dir / sdbusplus_current_path],
38*7f154004SPatrick Williams    build_by_default: should_generate_markdown,
39991b2b8bSVernon Mauery)
40991b2b8bSVernon Mauery
41