2018-05-17 00:58:59 +00:00
|
|
|
subdir('xml')
|
|
|
|
|
|
|
|
private_headers = [
|
2019-11-21 19:37:17 +00:00
|
|
|
'config.h',
|
|
|
|
'nbis-helpers.h',
|
|
|
|
'fprint.h',
|
2018-05-17 00:58:59 +00:00
|
|
|
|
2019-11-21 19:37:17 +00:00
|
|
|
# Subdirectories to ignore
|
|
|
|
'drivers',
|
|
|
|
'nbis',
|
2018-05-17 00:58:59 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
html_images = [
|
|
|
|
]
|
|
|
|
|
|
|
|
content_files = [
|
|
|
|
'intro.xml'
|
|
|
|
]
|
|
|
|
|
|
|
|
expand_content_files = content_files
|
|
|
|
|
|
|
|
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
|
|
|
|
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
|
|
|
|
docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html')
|
|
|
|
|
2019-12-16 18:02:00 +00:00
|
|
|
gnome.gtkdoc(meson.project_name(),
|
2019-11-21 19:37:17 +00:00
|
|
|
main_xml: 'libfprint-docs.xml',
|
|
|
|
src_dir: join_paths(meson.source_root(), 'libfprint'),
|
|
|
|
dependencies: libfprint_dep,
|
|
|
|
content_files: content_files,
|
|
|
|
expand_content_files: expand_content_files,
|
|
|
|
scan_args: [
|
|
|
|
#'--rebuild-sections',
|
|
|
|
'--ignore-headers=' + ' '.join(private_headers),
|
|
|
|
],
|
|
|
|
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)
|