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]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=net.hadess.SensorProxy
|
BusName=net.hadess.SensorProxy
|
||||||
ExecStart=@sbindir@/iio-sensor-proxy
|
ExecStart=@libexecdir@/iio-sensor-proxy
|
||||||
#Uncomment this to enable debug
|
#Uncomment this to enable debug
|
||||||
#Environment="G_MESSAGES_DEBUG=all"
|
#Environment="G_MESSAGES_DEBUG=all"
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ install_data(
|
|||||||
)
|
)
|
||||||
|
|
||||||
data_conf = configuration_data()
|
data_conf = configuration_data()
|
||||||
data_conf.set('sbindir', sbindir)
|
data_conf.set('libexecdir', libexecdir)
|
||||||
data_conf.set('geoclue_user', get_option('geoclue-user'))
|
data_conf.set('geoclue_user', get_option('geoclue-user'))
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
|
@@ -23,7 +23,7 @@ common_cflags = cc.get_supported_arguments([
|
|||||||
'-Wshadow'
|
'-Wshadow'
|
||||||
])
|
])
|
||||||
|
|
||||||
sbindir = get_option('sbindir')
|
libexecdir = get_option('libexecdir')
|
||||||
bindir = get_option('bindir')
|
bindir = get_option('bindir')
|
||||||
dbusconfdir = get_option('sysconfdir') / 'dbus-1' / 'system.d'
|
dbusconfdir = get_option('sysconfdir') / 'dbus-1' / 'system.d'
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@ executable('iio-sensor-proxy',
|
|||||||
sources,
|
sources,
|
||||||
dependencies: deps,
|
dependencies: deps,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: sbindir
|
install_dir: libexecdir
|
||||||
)
|
)
|
||||||
|
|
||||||
executable('fake-input-accelerometer',
|
executable('fake-input-accelerometer',
|
||||||
|
Reference in New Issue
Block a user