[gedit/zbrown/deteplification-src: 198/633] build: data/icons: simplify install_dir value
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 198/633] build: data/icons: simplify install_dir value
- Date: Sat, 10 Apr 2021 12:47:58 +0000 (UTC)
commit cd9b0ccab4f993554b56fa0c5e52ab6af51c4683
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]