File: meson.build

package info (click to toggle)
atk1.0 2.30.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,952 kB
  • sloc: ansic: 9,372; xml: 132; sh: 19; makefile: 15
file content (41 lines) | stat: -rw-r--r-- 1,239 bytes parent folder | download
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
37
38
39
40
41
subdir('xml')

private_headers = [
  'atkmarshal.h',
  'atkintl.h',
]

content_files = [
]

html_images = [
]

glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(atk_datadir, 'gtk-doc', 'html')

gnome.gtkdoc('atk',
             main_xml: 'atk-docs.xml',
             src_dir: [
               join_paths(meson.source_root(), 'atk'),
               join_paths(meson.build_root(), 'atk'),
             ],
             dependencies: libatk_dep,
             gobject_typesfile: 'atk.types',
             scan_args: [
               '--rebuild-types',
               '--deprecated-guards=ATK_DISABLE_DEPRECATED',
               '--ignore-decorators=_ATK_EXTERN',
               '--ignore-headers=' + ' '.join(private_headers),
             ],
             mkdb_args: [
               '--output-format=xml',
             ],
             fixxref_args: [
               '--html-dir=@0@'.format(docpath),
               '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
               '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
             ],
             html_assets: html_images,
             install: true)