mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
36 lines
967 B
Meson
36 lines
967 B
Meson
clappergtk_toml = configure_file(
|
|
input: 'clapper-gtk.toml.in',
|
|
output: 'clapper-gtk.toml',
|
|
configuration: doc_version_conf,
|
|
install: true,
|
|
install_dir: join_paths(datadir, 'doc', 'clapper-gtk'),
|
|
)
|
|
|
|
extra_md_files = [
|
|
'migrating-to-010.md',
|
|
]
|
|
|
|
custom_target('clapper-gtk-doc',
|
|
input: [
|
|
clappergtk_toml,
|
|
clappergtk_gir[0],
|
|
],
|
|
output: 'clapper-gtk',
|
|
command: [
|
|
gi_docgen,
|
|
'generate',
|
|
gi_docgen_common_args,
|
|
'--add-include-path=@0@'.format(join_paths(meson.project_build_root(), 'src', 'lib', 'clapper')),
|
|
'--add-include-path=@0@'.format(join_paths(meson.project_build_root(), 'src', 'lib', 'clapper-gtk')),
|
|
'--config=@INPUT0@',
|
|
'--output-dir=@OUTPUT@',
|
|
'--content-dir=@0@'.format(meson.current_build_dir()),
|
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
|
'@INPUT1@',
|
|
],
|
|
depend_files: extra_md_files,
|
|
build_by_default: true,
|
|
install: true,
|
|
install_dir: join_paths(datadir, 'doc'),
|
|
)
|