summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2019-04-15 20:44:28 +0200
committerHeiko Becker <heirecka@exherbo.org>2019-04-15 20:54:14 +0200
commitfa012d4bef0bd6ecfee5626bb015665d911bbaff (patch)
tree90b5e5378e4820dcef1ee4e96196b8e873b3d08c
parent25b552ec2b43c130c0eca71d0306d01b80e0d7ad (diff)
downloadiputils-fa012d4bef0bd6ecfee5626bb015665d911bbaff.tar.gz
Use the value of sbindir to install rinfod, rarpd & ninfod
...instead of hard-coding 'sbin'.
-rw-r--r--meson.build4
-rw-r--r--ninfod/meson.build2
2 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index efb4dc2..57b485b 100644
--- a/meson.build
+++ b/meson.build
@@ -282,7 +282,7 @@ endif
if build_rinfod == true
executable('rdisc', ['rdisc.c', git_version_h],
- install_dir: 'sbin',
+ install_dir: get_option('sbindir'),
link_with : [libcommon],
install: true)
if systemd.found()
@@ -318,7 +318,7 @@ endif
if build_rarpd == true
executable('rarpd', ['rarpd.c', git_version_h],
- install_dir: 'sbin',
+ install_dir: get_option('sbindir'),
link_with : [libcommon],
install: true)
if systemd.found()
diff --git a/ninfod/meson.build b/ninfod/meson.build
index ea7ec1b..a0ee94d 100644
--- a/ninfod/meson.build
+++ b/ninfod/meson.build
@@ -14,7 +14,7 @@ executable('ninfod', [ninfod_sources, git_version_h],
link_with : [libcommon],
include_directories : inc,
install: true,
- install_dir: 'sbin')
+ install_dir: get_option('sbindir'))
conf_data = configuration_data()
conf_data.set('prefix', get_option('prefix'))