build: Install daemon in libexecdir
Rather than sbindir, which would have meant it could be in the PATH.
This commit is contained in:
@@ -4,7 +4,7 @@ Description=IIO Sensor Proxy service
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=net.hadess.SensorProxy
|
||||
ExecStart=@sbindir@/iio-sensor-proxy
|
||||
ExecStart=@libexecdir@/iio-sensor-proxy
|
||||
#Uncomment this to enable debug
|
||||
#Environment="G_MESSAGES_DEBUG=all"
|
||||
|
||||
|
@@ -4,7 +4,7 @@ install_data(
|
||||
)
|
||||
|
||||
data_conf = configuration_data()
|
||||
data_conf.set('sbindir', sbindir)
|
||||
data_conf.set('libexecdir', libexecdir)
|
||||
data_conf.set('geoclue_user', get_option('geoclue-user'))
|
||||
|
||||
configure_file(
|
||||
|
@@ -23,7 +23,7 @@ common_cflags = cc.get_supported_arguments([
|
||||
'-Wshadow'
|
||||
])
|
||||
|
||||
sbindir = get_option('sbindir')
|
||||
libexecdir = get_option('libexecdir')
|
||||
bindir = get_option('bindir')
|
||||
dbusconfdir = get_option('sysconfdir') / 'dbus-1' / 'system.d'
|
||||
|
||||
|
@@ -32,7 +32,7 @@ executable('iio-sensor-proxy',
|
||||
sources,
|
||||
dependencies: deps,
|
||||
install: true,
|
||||
install_dir: sbindir
|
||||
install_dir: libexecdir
|
||||
)
|
||||
|
||||
executable('fake-input-accelerometer',
|
||||
|
Reference in New Issue
Block a user