[gedit/zbrown/deteplification-src: 337/633] build: small update for all the *dir variables
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 337/633] build: small update for all the *dir variables
- Date: Sat, 10 Apr 2021 12:48:02 +0000 (UTC)
commit 1d39db6562005afea86accd88d57a997d5e5aa89
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri May 8 20:01:23 2020 +0200
build: small update for all the *dir variables
meson.build | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4c88838bd..9c9fdb76e 100644
--- a/meson.build
+++ b/meson.build
@@ -20,14 +20,11 @@ root_include_dir = include_directories('.')
srcdir = meson.current_source_dir()
-bindir = join_paths(get_option('prefix'), get_option('bindir'))
-libdir = join_paths(get_option('prefix'), get_option('libdir'))
-libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
-datadir = join_paths(get_option('prefix'), get_option('datadir'))
-pkgconfigdir = join_paths(libdir, 'pkgconfig')
-pkglibdir = join_paths(libdir, meson.project_name())
-pkgdatadir = join_paths(datadir, meson.project_name())
-glibdir = join_paths(datadir, 'glib-2.0')
+bindir = get_option('prefix') / get_option('bindir')
+pkgconfigdir = get_option('prefix') / get_option('libdir') / 'pkgconfig'
+pkglibdir = get_option('prefix') / get_option('libdir') / 'gedit'
+pkgdatadir = get_option('prefix') / get_option('datadir') / 'gedit'
+glibdir = get_option('prefix') / get_option('datadir') / 'glib-2.0'
# Subprojects
if not get_option('buildtype').contains('plain')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]