summaryrefslogtreecommitdiff
path: root/docs/meson.build
blob: d4a054832d8ac75b9f1923e3108921ae0cb8be7e (plain)
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
pk_api_docpath = pk_prefix / gnome.gtkdoc_html_dir(pk_api_name)

enable_man = get_option('man')
if enable_man
  subdir('man')
endif

enable_gtk_doc = get_option('gtk_doc')
if enable_gtk_doc
  content_files += configure_file(
    input: 'extensiondir.xml.in',
    output: '@BASENAME@',
    configuration: {'libdir': pk_prefix / pk_libdir},
  )

  content_files += configure_file(
    input: 'version.xml.in',
    output: '@BASENAME@',
    configuration: {'VERSION': pk_version},
  )

  html_images = files(
    'polkit-architecture.png',
    'polkit-authentication-agent-example.png',
    'polkit-authentication-agent-example-wheel.png',
  )

  subdir('polkit')
endif