diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2019-08-28 11:54:11 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-10-01 09:49:33 +0200 |
commit | 82e79e40a5ca05b5fa9a40cfb55c9c775ac8c849 (patch) | |
tree | a9ce3e6dbd23f8e071b9d0d36a71b670c2a77a52 /docs | |
parent | 48bb5b68e3d7dd44d9130e059ef99c14fb5ca457 (diff) | |
download | NetworkManager-82e79e40a5ca05b5fa9a40cfb55c9c775ac8c849.tar.gz |
meson: Avoid the use of source_root and build_root methods
The way some directory paths are defined has also been changed to
avoid the use of the `source_root` and `build_root` functions
because they are discouraged[0]
[0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/meson.build b/docs/meson.build index f89592ab3d..e9768e5275 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -6,6 +6,6 @@ subdir('api') test( 'check-docs', - find_program(join_paths(meson.source_root(), 'tools', 'check-docs.sh')), - args: [meson.source_root(), meson.build_root()], + find_program(join_paths(source_root, 'tools', 'check-docs.sh')), + args: [source_root, build_root], ) |