doc: Use includes from the source diretory

Before we try to use installed system includes, which is obviously not
the best idea.
This commit is contained in:
Benjamin Berg 2021-04-29 15:25:58 +02:00 committed by Benjamin Berg
parent 261ba3a4a4
commit ae6be6837b
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#include <libfprint-2/fprint.h>
#include <libfprint-2/fp-image-device.h>
#include <fprint.h>
#include <fp-image-device.h>
fp_context_get_type
fp_device_get_type

View file

@ -26,6 +26,7 @@ docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html')
gnome.gtkdoc(versioned_libname,
main_xml: 'libfprint-docs.xml',
src_dir: join_paths(meson.source_root(), 'libfprint'),
include_directories: include_directories('../libfprint'),
dependencies: libfprint_dep,
content_files: content_files,
expand_content_files: expand_content_files,