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
|
ignore_headers = [
'eom-image-private.h',
'eom-image-jpeg.h',
'eom-marshal.h',
'eom-application-service.h',
'eom-enum-types.h',
]
if not exif.found()
ignore_headers += [
'eom-exif-util.h',
'eom-metadata-details.h',
]
endif
sgml = configure_file(input: 'eom-docs.sgml.in', configuration: pkg_info, output: 'eom-docs.sgml')
versionsxml = configure_file(input: 'version.xml.in', configuration: pkg_info, output: 'version.xml')
if false # Doesn't work, see below
gnome.gtkdoc(
'eom',
src_dir: src_inc,
main_sgml: 'eom-docs.sgml.in',
scan_args: ['--rebuild-types'],
mkdb_args: ['--sgml-mode', '--output-format=xml'],
ignore_headers: ignore_headers,
content_files: [versionsxml],
# Meson doesn't link built object file to the scan
dependencies: [all_deps, libeom],
install: true,
)
endif
|