mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
32 lines
806 B
Meson
32 lines
806 B
Meson
|
|
||
|
clutter_toml = configure_file(
|
||
|
input: 'clutter.toml.in',
|
||
|
output: 'clutter.toml',
|
||
|
configuration: toml_conf,
|
||
|
install: true,
|
||
|
install_dir: docs_dir / 'clutter',
|
||
|
)
|
||
|
|
||
|
custom_target('clutter-doc',
|
||
|
input: [ clutter_toml, libmutter_clutter_gir[0] ],
|
||
|
output: 'clutter',
|
||
|
command: [
|
||
|
gidocgen,
|
||
|
'generate',
|
||
|
gidocgen_common_args,
|
||
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../cogl/cogl'),
|
||
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../cogl/cogl-pango'),
|
||
|
'--config=@INPUT0@',
|
||
|
'--output-dir=@OUTPUT@',
|
||
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||
|
'@INPUT1@',
|
||
|
],
|
||
|
depends: [
|
||
|
libmutter_cogl_pango_gir[0],
|
||
|
libmutter_cogl_gir[0],
|
||
|
],
|
||
|
build_by_default: true,
|
||
|
install: true,
|
||
|
install_dir: docs_dir,
|
||
|
)
|