blob: 730f8b66ec5e7add022a5fe175b13e439edd8347 [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(),
Patrick Williams0e788282025-01-31 06:34:56 -05008 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: [
Patrick Williams0e788282025-01-31 06:34:56 -050012 sdbuspp_gen_meson_prog,
13 '--command',
14 'markdown',
15 '--output',
16 meson.current_build_dir(),
17 '--tool',
18 sdbusplusplus_prog,
19 '--directory',
20 meson.current_source_dir() / '../../../../yaml',
Shawn McCarney54ed0a12021-12-08 11:14:46 -060021 'org/freedesktop/UPower/Device',
22 ],
Patrick Williams7f154002025-01-03 10:12:23 -050023 install: should_generate_markdown,
24 install_dir: [inst_markdown_dir / sdbusplus_current_path],
25 build_by_default: should_generate_markdown,
Shawn McCarney54ed0a12021-12-08 11:14:46 -060026)
27