[gedit] build: data/icons: simplify install_dir value



commit d42a93580d601bbb643e61e5b1165abecc12605e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Mar 16 12:59:28 2020 +0100

    build: data/icons: simplify install_dir value
    
    - join_paths() is deprecated.
    - get_option('prefix') is not needed, a relative path is relative to the
    prefix.

 data/icons/meson.build | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 609013330..c1f2edbb6 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -1,17 +1,9 @@
 install_data(
   'org.gnome.gedit.svg',
-  install_dir: join_paths(
-    get_option('prefix'),
-    get_option('datadir'),
-    'icons/hicolor/scalable/apps'
-  )
+  install_dir: get_option('datadir') / 'icons/hicolor/scalable/apps'
 )
 
 install_data(
   'org.gnome.gedit-symbolic.svg',
-  install_dir: join_paths(
-    get_option('prefix'),
-    get_option('datadir'),
-    'icons/hicolor/symbolic/apps'
-  )
+  install_dir: get_option('datadir') / 'icons/hicolor/symbolic/apps'
 )


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