aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2021-01-17 18:41:06 +0100
committerAngelo Naselli <anaselli@linux.it>2021-01-17 18:41:06 +0100
commit32ada7135cf4e7789046e73424e19325ebf830e8 (patch)
tree1d05d3cd3dfa039ed229cdbc337d15a20da36e42 /Makefile
parentb3ef1d16d1e3fbe6c438421d6728be06d2b9d468 (diff)
downloadisodumper-32ada7135cf4e7789046e73424e19325ebf830e8.tar
isodumper-32ada7135cf4e7789046e73424e19325ebf830e8.tar.gz
isodumper-32ada7135cf4e7789046e73424e19325ebf830e8.tar.bz2
isodumper-32ada7135cf4e7789046e73424e19325ebf830e8.tar.xz
isodumper-32ada7135cf4e7789046e73424e19325ebf830e8.zip
Fixing gtk hang caused by glib loop used by yui-gtk too
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c300a95..8d3a688 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ PREFIX=/usr
BINDIR=$(PREFIX)/bin
SBINDIR=$(PREFIX)/sbin
LIBDIR=$(PREFIX)/lib
-PYLIBDIR=$(shell python3 -c "from __future__ import print_function; from distutils.sysconfig import get_python_lib; print(get_python_lib())")
+PYTHON=/usr/bin/env python3
+PYLIBDIR=$(shell $(PYTHON) -c "from __future__ import print_function; from distutils.sysconfig import get_python_lib; print(get_python_lib())")
LIBEXECDIR=$(PREFIX)/libexec
POLKITPOLICYDIR=$(PREFIX)/share/polkit-1/actions
DATADIR=$(PREFIX)/share
@@ -25,7 +26,6 @@ ICONSDIR=$(PREFIX)/share/icons
PIXMAPSDIR=$(PREFIX)/share/pixmaps
LOCALEDIR=$(PREFIX)
DOCDIR=$(PREFIX)/share/doc/isodumper
-PYTHON=/usr/bin/env python3
SYSCONFDIR=/etc
DIRS = polkit
POFILES = po
@@ -56,12 +56,18 @@ clean:
isodumper.tar.xz
-install:
+install: version
# for binary file script isodumper on /usr/bin
mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 isodumper $(DESTDIR)$(BINDIR)
+ # for PYLIBFILES isodumper.py version.py raw_write.py
+ mkdir -p $(DESTDIR)$(PYLIBDIR)/isodumper
+ install -m 755 lib/isodumper.py $(DESTDIR)$(PYLIBDIR)/isodumper
+ install -m 755 lib/version.py $(DESTDIR)$(PYLIBDIR)/isodumper
+ install -m 755 backend/raw_write.py $(DESTDIR)$(PYLIBDIR)/isodumper
+
# for backend magiback listening DBus on /usr/bin/
install -m 755 backend/magiback $(DESTDIR)$(BINDIR)
@@ -84,12 +90,6 @@ install:
mkdir -p $(DESTDIR)$(POLKITPOLICYDIR)
install -m 644 polkit/org.mageia.isodumper.policy $(DESTDIR)$(POLKITPOLICYDIR)
- # for PYLIBFILES isodumper.py version.py raw_write.py
- mkdir -p $(DESTDIR)$(PYLIBDIR)/isodumper
- install -m 755 lib/isodumper.py $(DESTDIR)$(PYLIBDIR)/isodumper
- install -m 755 lib/version.py $(DESTDIR)$(PYLIBDIR)/isodumper
- install -m 755 backend/raw_write.py $(DESTDIR)$(PYLIBDIR)/isodumper
-
# for LIBFILES raw_format.py
mkdir -p $(DESTDIR)$(LIBDIR)/isodumper
install -m 755 lib/raw_format.py $(DESTDIR)$(LIBDIR)/isodumper