aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 60a2ba8..7cea0f7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,8 @@
PREFIX=/usr
BINDIR=$(PREFIX)/bin
SBINDIR=$(PREFIX)/sbin
+=======
+LIBDIR=$(PREFIX)/lib/python3.6/site-packages
LIBEXECDIR=$(PREFIX)/libexec
POLKITPOLICYDIR=$(PREFIX)/share/polkit-1/actions
DATADIR=$(PREFIX)/share
@@ -54,23 +56,21 @@ clean:
install:
# for binary file script isodumper on /usr/bin
+ mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 isodumper $(DESTDIR)$(BINDIR)
- # for binary file isodumper on /usr/bin/
- # to have authentication with polkit (use for mageia policy)
- #mkdir -p $(DESTDIR)$(BINDIR)
- #install -m 755 polkit/isodumper $(DESTDIR)$(BINDIR)
-
- # for backend magiback listening DBus on /usr/bin/
+ # for backend magiback listening DBus on /usr/bin/
install -m 755 backend/magiback $(DESTDIR)$(BINDIR)
- # for DBus conf file on /usr/dbus-1/system-d
+ # for DBus conf file on /etc/dbus-1/system-d
# to launch magiback on request
- install -m 644 backend/org.mageia.Magiback.conf ${DBUSDIR}/system.d
+ mkdir -p $(DESTDIR)${DBUSDIR}/system.d
+ install -m 644 backend/org.mageia.Magiback.conf $(DESTDIR)${DBUSDIR}/system.d
- # for DBus conf file on /usr/dbus-1/system-d
+ # for DBus conf file on /usr/share/dbus-1/system-d
# to provide objects and interfaces
- install -m 644 backend/org.mageia.magiback.service ${DBUSDIR}/system-services
+ mkdir -p $(DESTDIR)${DATADIR}/dbus-1/system-services
+ install -m 644 backend/org.mageia.magiback.service $(DESTDIR)${DATADIR}/dbus-1/system-services
# for policy file isodumper on /usr/share/polkit-1/actions/
# to have authentication with polkit (use for mageia policy)