[gtksourceview: 4/5] Remove usage of meson.source_root() and meson.build_root()




commit 1bced086bb340e62307e1e6d69ae21b410d5eb3d
Author: Tristan Partin <tristan partin io>
Date:   Wed Oct 27 11:34:14 2021 -0500

    Remove usage of meson.source_root() and meson.build_root()
    
    These were deprecated in favor of meson.project_source/build_root() and
    meson.global_source/build_root(). The context on when to pick what
    depends on what you are trying to do.

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index e2b3bdfa..b9d6bc7d 100644
--- a/meson.build
+++ b/meson.build
@@ -37,8 +37,8 @@ package_string = '@0@-@1@'.format(package_name, api_version)
 
 # Paths
 rootdir = include_directories('.')
-srcdir = meson.source_root()
-builddir = meson.build_root()
+srcdir = meson.project_source_root()
+builddir = meson.project_build_root()
 
 prefix = get_option('prefix')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]