[gnome-software] build: Use the configured directory locations to install executables
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] build: Use the configured directory locations to install executables
- Date: Thu, 4 May 2017 14:42:39 +0000 (UTC)
commit d8dbd5da0cd83d471dd14033d056da253947c29c
Author: Iain Lane <iain orangesquash org uk>
Date: Thu May 4 10:01:04 2017 +0100
build: Use the configured directory locations to install executables
Rather than hardcoding them
lib/meson.build | 2 +-
src/meson.build | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/meson.build b/lib/meson.build
index 49133ea..70de332 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -82,7 +82,7 @@ executable(
],
c_args : cargs,
install : true,
- install_dir : 'libexec'
+ install_dir : get_option('libexecdir')
)
if get_option('enable-tests')
diff --git a/src/meson.build b/src/meson.build
index 69be9f4..d333edd 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -110,7 +110,7 @@ executable(
],
c_args : cargs,
install : true,
- install_dir : 'bin'
+ install_dir : get_option('bindir')
)
executable(
@@ -124,7 +124,7 @@ executable(
],
c_args : cargs,
install : true,
- install_dir : 'libexec'
+ install_dir : get_option('libexecdir')
)
# no quoting
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]