diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-08-24 18:32:59 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-08-24 18:33:48 +0100 |
commit | 71d8451659600a67bcdd5524b9e6eedf0e7ff354 (patch) | |
tree | fa5e852567fa7f36f63528d542f340e763a39a7e /doc | |
parent | dda048522311c9f4c413090da74e5567432f88b0 (diff) | |
download | json-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.build | 5 |
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: [ |