2021-02-10 13:41:53 +00:00
|
|
|
gsk4_toml = configure_file(input: 'gsk4.toml.in', output: 'gsk4.toml', configuration: toml_conf)
|
2017-04-19 10:35:45 +00:00
|
|
|
|
2019-07-01 16:57:16 +00:00
|
|
|
if get_option('gtk_doc')
|
2021-02-10 13:41:53 +00:00
|
|
|
custom_target('gsk4-doc',
|
|
|
|
input: [ gsk4_toml, gsk_gir[0] ],
|
|
|
|
output: 'gsk4',
|
|
|
|
command: [
|
|
|
|
gidocgen,
|
|
|
|
'generate',
|
2021-02-18 13:38:29 +00:00
|
|
|
'--quiet',
|
2021-02-10 13:41:53 +00:00
|
|
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
|
|
|
|
'--config=@INPUT0@',
|
|
|
|
'--output-dir=@OUTPUT@',
|
|
|
|
'--no-namespace-dir',
|
|
|
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
|
|
|
'@INPUT1@',
|
2020-12-15 12:31:38 +00:00
|
|
|
],
|
2021-02-10 13:41:53 +00:00
|
|
|
depends: [ gdk_gir[0] ],
|
|
|
|
depend_files: [ expand_content_md_files ],
|
|
|
|
build_by_default: true,
|
2020-12-15 12:31:38 +00:00
|
|
|
)
|
2019-05-25 16:27:32 +00:00
|
|
|
endif
|