aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-03-17 08:56:07 +0100
committerPapoteur <papoteur@mageia.org>2018-03-17 08:56:07 +0100
commit0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac (patch)
tree7df4186d0c4dd045cf12c1005ec749da48737e09
parentf19ef7c1cbe524e0897fa3a695102fdecc467939 (diff)
downloadisodumper-0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac.tar
isodumper-0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac.tar.gz
isodumper-0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac.tar.bz2
isodumper-0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac.tar.xz
isodumper-0aff2eb7b794ec0ba5f6daa47c7e3b2ad4e638ac.zip
Update Makefile for DBus files and backend
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
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