1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
doc_module = pk_api_name
src_dirs = [
source_root / 'src/polkit',
source_root / 'src/polkitagent',
]
private_headers = [
'polkitagenthelperprivate.h',
'polkitprivate.h',
]
content_files += files(
'docbook-interface-org.freedesktop.PolicyKit1.AuthenticationAgent.xml',
'docbook-interface-org.freedesktop.PolicyKit1.Authority.xml',
)
html_images = [
'../polkit-architecture.png',
'../polkit-authentication-agent-example.png',
'../polkit-authentication-agent-example-wheel.png',
]
gnome.gtkdoc(
doc_module,
main_xml: doc_module + '-docs.xml',
src_dir: src_dirs,
ignore_headers: private_headers,
dependencies: libpolkit_agent_dep,
namespace: meson.project_name(),
html_assets: html_images,
fixxref_args: '--html-dir=' + pk_api_docpath,
gobject_typesfile: doc_module + '.types',
content_files: content_files,
install: true,
)
|