summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-08-24 18:32:59 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-08-24 18:33:48 +0100
commit71d8451659600a67bcdd5524b9e6eedf0e7ff354 (patch)
treefa5e852567fa7f36f63528d542f340e763a39a7e /doc
parentdda048522311c9f4c413090da74e5567432f88b0 (diff)
downloadjson-glib-71d8451659600a67bcdd5524b9e6eedf0e7ff354.tar.gz
docs Use the relative location of the sources
Do not use source_root()/build_root(), as they prevent building json-glib as a sub-project.
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/meson.build b/doc/meson.build
index edee3a4..8f27ff6 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -23,10 +23,7 @@ if find_program('gtkdoc-scan', required : get_option('gtk_doc')).found()
gnome.gtkdoc(
'json-glib',
main_xml: 'json-glib-docs.xml',
- src_dir: [
- join_paths(meson.source_root(), 'json-glib'),
- join_paths(meson.build_root(), 'json-glib'),
- ],
+ src_dir: include_directories('../json-glib'),
dependencies: json_glib_dep,
gobject_typesfile: 'json-glib.types',
scan_args: [