[atk/ebassi/atk-2-38: 11/12] Do not use deprecated Meson API
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk/ebassi/atk-2-38: 11/12] Do not use deprecated Meson API
- Date: Thu, 24 Mar 2022 12:23:12 +0000 (UTC)
commit 6cb2486bb42729223db601ecbaac08ab0ff36f03
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Mar 24 12:11:24 2022 +0000
Do not use deprecated Meson API
And follow more idiomatic patterns for paths.
docs/meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index d6b9c8a..1e491e3 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -5,9 +5,9 @@ private_headers = [
'atkintl.h',
]
-glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
-glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
-docpath = join_paths(atk_datadir, 'gtk-doc', 'html')
+glib_prefix = dependency('glib-2.0').get_variable(pkgconfig: 'prefix')
+glib_docpath = glib_prefix / 'share/gtk-doc/html'
+docpath = atk_datadir / 'gtk-doc/html'
gnome.gtkdoc('atk',
main_xml: 'atk-docs.xml',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]