blob: 95c1c558d640b3d4fddb48defa250d8898df6353 [file] [log] [blame]
Shawn McCarney54ed0a12021-12-08 11:14:46 -06001# Generated file; do not modify.
2subdir('Device')
Patrick Williams7f154002025-01-03 10:12:23 -05003
4sdbusplus_current_path = 'org/freedesktop/UPower'
5
6generated_markdown += custom_target(
Shawn McCarney54ed0a12021-12-08 11:14:46 -06007 'org/freedesktop/UPower/Device__markdown'.underscorify(),
8 input: [ '../../../../yaml/org/freedesktop/UPower/Device.interface.yaml', ],
9 output: [ 'Device.md' ],
Patrick Williams11335242022-09-12 06:11:41 -050010 depend_files: sdbusplusplus_depfiles,
Shawn McCarney54ed0a12021-12-08 11:14:46 -060011 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 'org/freedesktop/UPower/Device',
17 ],
Patrick Williams7f154002025-01-03 10:12:23 -050018 install: should_generate_markdown,
19 install_dir: [inst_markdown_dir / sdbusplus_current_path],
20 build_by_default: should_generate_markdown,
Shawn McCarney54ed0a12021-12-08 11:14:46 -060021)
22