Debian Codegraph @

docs/polkit/meson.build

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