Commit 2e392063 authored by PureTryOut's avatar PureTryOut

Add possibility to not install systemd service files

Some systems might use elogind instead and thus don't need the service
files
parent 7116571b
......@@ -39,6 +39,8 @@ systemd.files = \
systemd/nemo-devicelock.service
systemd.path= /usr/lib/systemd/system
INSTALLS += \
systemd \
target
!no_systemd{
INSTALLS += systemd
}
INSTALLS += target
systemd.files = \
$$PWD/nemo-devicelock.socket
systemd.path= /usr/lib/systemd/system
......@@ -7,6 +6,8 @@ policy.files = \
$$PWD/org.nemomobile.devicelock.conf
policy.path = /etc/dbus-1/system.d
INSTALLS += \
policy \
systemd
!no_systemd{
INSTALLS += systemd
}
INSTALLS += policy
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment