2017-05-25 00:16:27 +00:00
|
|
|
private_headers = [
|
|
|
|
'gactionmuxer.h',
|
|
|
|
'gactionobservable.h',
|
|
|
|
'gactionobserver.h',
|
|
|
|
'shell-network-agent.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
exclude_directories = [
|
|
|
|
'calendar-server',
|
|
|
|
'hotplug-sniffer',
|
|
|
|
'st',
|
|
|
|
'tray'
|
|
|
|
]
|
|
|
|
|
|
|
|
ifaces = [
|
|
|
|
['org.gnome.Shell.Screenshot', 'org.gnome.Shell.Screenshot.xml'],
|
|
|
|
['org.gnome.ShellSearchProvider', 'org.gnome.Shell.SearchProvider.xml'],
|
|
|
|
['org.gnome.ShellSearchProvider2', 'org.gnome.Shell.SearchProvider2.xml']
|
|
|
|
]
|
|
|
|
foreach iface : ifaces
|
|
|
|
custom_target(iface[0] + ' docs',
|
2018-09-17 12:19:13 +00:00
|
|
|
input: '../../../data/dbus-interfaces/@0@.xml'.format(iface[0]),
|
2017-05-25 00:16:27 +00:00
|
|
|
output: 'doc-gen-' + iface[1],
|
|
|
|
command: [
|
|
|
|
'gdbus-codegen',
|
2019-07-25 12:40:11 +00:00
|
|
|
'--interface-prefix=@0@.'.format(iface[0]),
|
2017-05-25 00:16:27 +00:00
|
|
|
'--generate-docbook', 'doc-gen',
|
|
|
|
'--output-directory', '@OUTDIR@',
|
|
|
|
'@INPUT@'
|
|
|
|
],
|
|
|
|
build_by_default: true
|
|
|
|
)
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: 'version.xml.in',
|
|
|
|
output: 'version.xml',
|
|
|
|
configuration: version_conf
|
|
|
|
)
|
|
|
|
|
|
|
|
gnome.gtkdoc('shell',
|
|
|
|
main_sgml: 'shell-docs.sgml',
|
|
|
|
src_dir: [
|
2021-12-23 01:40:22 +00:00
|
|
|
join_paths(meson.project_source_root(), 'src'),
|
|
|
|
join_paths(meson.project_build_root(), 'src')
|
2017-05-25 00:16:27 +00:00
|
|
|
],
|
|
|
|
scan_args: [
|
2018-08-06 12:21:02 +00:00
|
|
|
'--ignore-headers=' + ' '.join(private_headers + exclude_directories)
|
2017-05-25 00:16:27 +00:00
|
|
|
],
|
|
|
|
install: true
|
|
|
|
)
|