mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-15 21:05:36 +00:00
32 lines
1.2 KiB
Meson
32 lines
1.2 KiB
Meson
|
if get_option('gtk_doc')
|
||
|
|
||
|
subdir('xml')
|
||
|
|
||
|
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')
|
||
|
|
||
|
gnome.gtkdoc('calls',
|
||
|
main_xml: 'calls-docs.xml',
|
||
|
src_dir: [
|
||
|
join_paths(meson.source_root(), 'src'),
|
||
|
join_paths(meson.build_root(), 'src'),
|
||
|
join_paths(meson.build_root(), 'libgdbofono'),
|
||
|
],
|
||
|
dependencies: calls_deps,
|
||
|
scan_args: [
|
||
|
'--rebuild-types',
|
||
|
],
|
||
|
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')),
|
||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
|
||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gi')),
|
||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gtk3')),
|
||
|
],
|
||
|
install_dir: 'calls',
|
||
|
install: true)
|
||
|
|
||
|
endif
|