[gnome-video-effects/wip/jtojnar/meson-fixes: 2/4] build: replace join_paths with operator
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-video-effects/wip/jtojnar/meson-fixes: 2/4] build: replace join_paths with operator
- Date: Mon, 19 Aug 2019 17:28:12 +0000 (UTC)
commit fb0cfa23e74ac49cc1c56b26227345e3bdafef1e
Author: Jan Tojnar <jtojnar gmail com>
Date: Mon Aug 19 19:19:43 2019 +0200
build: replace join_paths with operator
Meson 0.49 added a / operator which is much nicer to read and write.
meson.build | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9b7e53f..408cd6b 100644
--- a/meson.build
+++ b/meson.build
@@ -7,9 +7,9 @@ gnome = import('gnome')
i18n = import('i18n')
prefix = get_option('prefix')
-datadir = join_paths(prefix, get_option('datadir'))
-pkgdatadir = join_paths(datadir, meson.project_name())
-pkgconfigdir = join_paths(datadir, 'pkgconfig')
+datadir = prefix / get_option('datadir')
+pkgdatadir = datadir / meson.project_name()
+pkgconfigdir = datadir / 'pkgconfig'
subdir('effects')
subdir('po')
@@ -23,6 +23,6 @@ conf.set('VERSION', meson.project_version())
pkg = configure_file(configuration: conf,
input: 'gnome-video-effects.pc.in',
install: true,
- install_dir: join_paths(datadir, 'pkgconfig'),
+ install_dir: datadir / 'pkgconfig',
output: 'gnome-video-effects.pc')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]