aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-10-16 21:45:28 +0200
committerPapoteur <papoteur@mageia.org>2018-10-16 21:48:35 +0200
commit3b6eef57db6e8dec1b0cc64ebe5de81039051bb5 (patch)
treed15687bfb551702bce4265723020c6798568baca /Makefile
parentd656d0088fde1ddf50afe3d9d154d5f66caa04c8 (diff)
downloadisodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar.gz
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar.bz2
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar.xz
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.zip
Manage magiback start through DBus and systemd
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c0f3dd..e991134 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ SYSCONFDIR=/etc
DIRS = polkit
POFILES = po
DBUSDIR=$(SYSCONFDIR)/dbus-1
+SYSTEMDCONFDIR=$(LIBDIR)/systemd/system/
PACKAGE = isodumper
VERSION = 1.02
@@ -71,6 +72,10 @@ install:
mkdir -p $(DESTDIR)${DATADIR}/dbus-1/system-services
install -m 644 backend/org.mageia.Magiback.service $(DESTDIR)${DATADIR}/dbus-1/system-services
+ # for systemd service on /usr/lib/systemd/system
+ mkdir -p $(DESTDIR)${SYSTEMDCONFDIR}
+ install -m 644 backend/magiback.service $(DESTDIR)${SYSTEMDCONFDIR}
+
# for policy file isodumper on /usr/share/polkit-1/actions/
# to have authentication with polkit (use for mageia policy)
mkdir -p $(DESTDIR)$(POLKITPOLICYDIR)