File: meson.build

package info (click to toggle)
raqm 0.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,060 kB
  • sloc: ansic: 2,151; python: 61; xml: 57; sh: 26; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (2)
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
gtkdoc = find_program('gtkdoc-scan', required: false)

if not gtkdoc.found()
    error('MESON_SKIP_TEST gtkdoc not found.')
endif

version_xml = configure_file(
    input: 'version.xml.in',
    output: 'version.xml',
    configuration: version_h,
)

gnome = import('gnome')
gnome.gtkdoc(
    'raqm',
    main_xml: 'raqm-docs.xml',
    src_dir: [
        meson.project_source_root() / 'src',
        meson.project_build_root() / 'src',
    ],
    ignore_headers: ['config.h'],
    content_files: [version_xml],
    mkdb_args: ['--xml-mode', '--output-format=xml'],
    install: true,
    scan_args: ['--ignore-decorators=RAQM_API'],
    check: true,
)