| 1 |
|
| 2 |
subdir('images') |
| 3 |
|
| 4 |
gtk_doc = dependency('gtk-doc', version: '>= 1.25') |
| 5 |
|
| 6 |
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix') |
| 7 |
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html') |
| 8 |
docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html') |
| 9 |
|
| 10 |
font_manager_reference = configure_file( |
| 11 |
input: 'font-manager.xml.in', |
| 12 |
output: 'font-manager.xml', |
| 13 |
configuration: config |
| 14 |
) |
| 15 |
|
| 16 |
doc_deps = declare_dependency( |
| 17 |
dependencies: [base_deps, vapi], |
| 18 |
link_with: libfontmanager, |
| 19 |
) |
| 20 |
|
| 21 |
gnome.gtkdoc('font-manager', |
| 22 |
main_xml: join_paths(meson.current_build_dir(), 'font-manager.xml'), |
| 23 |
content_files: 'gallery.xml', |
| 24 |
html_assets: html_assets, |
| 25 |
namespace: meson.project_name(), |
| 26 |
src_dir: src_includes, |
| 27 |
scan_args: [ |
| 28 |
'--rebuild-types', |
| 29 |
'--rebuild-sections', |
| 30 |
], |
| 31 |
fixxref_args: [ |
| 32 |
'--html-dir=@0@'.format(docpath), |
| 33 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), |
| 34 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), |
| 35 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')), |
| 36 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'json-glib')), |
| 37 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'atk')), |
| 38 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gdk3')), |
| 39 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gtk3')), |
| 40 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'pango')), |
| 41 |
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'libxml2')), |
| 42 |
], |
| 43 |
dependencies: doc_deps, |
| 44 |
install: true |
| 45 |
) |
| 46 |
|