aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 95b9d01..a5596b3 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
PREFIX=/usr
BINDIR=$(PREFIX)/bin
SBINDIR=$(PREFIX)/sbin
-LIBDIR=$(PREFIX)/lib
+LIBDIR=$(PREFIX)/lib/python3.5/site-packages
LIBEXECDIR=$(PREFIX)/libexec
POLKITPOLICYDIR=$(PREFIX)/share/polkit-1/actions
DATADIR=$(PREFIX)/share
@@ -53,14 +53,13 @@ clean:
install:
- # for binary file script isodumper on /usr/libexec/
- mkdir -p $(DESTDIR)$(LIBEXECDIR)
- install -m 755 isodumper $(DESTDIR)$(LIBEXECDIR)
+ # for binary file script isodumper on /usr/bin
+ 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)
+ #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)
@@ -82,11 +81,11 @@ install:
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
+ install -m 755 backend/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
- install -m 644 mpan/categories.conf.d/isodumper.conf $(DESTDIR)$(SYSCONFDIR)/manatools/mpan/categories.conf.d
+ # for manatools mpan file in /etc/mpan/categories.conf.d/
+ mkdir -p $(DESTDIR)$(SYSCONFDIR)/mpan/categories.conf.d
+ install -m 644 mpan/categories.conf.d/isodumper.conf $(DESTDIR)$(SYSCONFDIR)/mpan/categories.conf.d/isodumper.conf
# for DATADIR isodumper.py header.png and header.svg
mkdir -p $(DESTDIR)$(DATADIR)/isodumper