From 0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 17 Mar 2018 08:56:07 +0100 Subject: Update Makefile for DBus files and backend --- Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c47bcff..95b9d01 100644 --- a/Makefile +++ b/Makefile @@ -28,9 +28,10 @@ PYTHON=/usr/bin/env python3 SYSCONFDIR=/etc DIRS = polkit POFILES = po +DBUSDIR=$(SYSCONFDIR)/dbus-1 PACKAGE = isodumper -VERSION = 0.60 +VERSION = 0.90 GITPATH = git://git.mageia.org/software/isodumper all: dirs pofiles @@ -61,15 +62,27 @@ install: mkdir -p $(DESTDIR)$(BINDIR) install -m 755 polkit/isodumper $(DESTDIR)$(BINDIR) + # 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 + # to launch magiback on request + install -m 644 backend/org.mageia.Magiback.conf ${DBUSDIR}/system.d + + # for DBus conf file on /usr/dbus-1/system-d + # to provide objects and interfaces + install -m 644 backend/org.mageia.magiback.service ${DBUSDIR}/system-services + # for policy file isodumper on /usr/share/polkit-1/actions/ # to have authentication with polkit (use for mageia policy) mkdir -p $(DESTDIR)$(POLKITPOLICYDIR) install -m 644 polkit/org.mageia.isodumper.policy $(DESTDIR)$(POLKITPOLICYDIR) - # for LIBFILES isodumper.py raw_format.py + # for LIBFILES isodumper.py raw_format.py raw_write mkdir -p $(DESTDIR)$(LIBDIR)/isodumper install -m 755 lib/isodumper.py $(DESTDIR)$(LIBDIR)/isodumper install -m 755 lib/raw_format.py $(DESTDIR)$(LIBDIR)/isodumper + install -m 755 lib/raw_write.py $(DESTDIR)$(LIBDIR)/isodumper # for manatools mpan file in /etc/manatools/mpan/categories.conf.d/ mkdir -p $(DESTDIR)$(SYSCONFDIR)/manatools/mpan/categories.conf.d -- cgit v1.2.1