diff options
author | Papoteur <papoteur@mageia.org> | 2018-04-23 21:23:43 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-04-23 21:23:43 +0200 |
commit | 7a7d96308ef49294f9768794da7b56192a2796e0 (patch) | |
tree | 8ee0d16b35ca5ddaa4c6a53f1438851e32b69e18 /Makefile | |
parent | 369aa55359ef11d2e7f8a651065467ada6764627 (diff) | |
download | isodumper-7a7d96308ef49294f9768794da7b56192a2796e0.tar isodumper-7a7d96308ef49294f9768794da7b56192a2796e0.tar.gz isodumper-7a7d96308ef49294f9768794da7b56192a2796e0.tar.bz2 isodumper-7a7d96308ef49294f9768794da7b56192a2796e0.tar.xz isodumper-7a7d96308ef49294f9768794da7b56192a2796e0.zip |
New method to evaluate sites-packages in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -16,7 +16,6 @@ PREFIX=/usr BINDIR=$(PREFIX)/bin SBINDIR=$(PREFIX)/sbin -LIBDIR=$(PREFIX)/lib/python3.5/site-packages LIBEXECDIR=$(PREFIX)/libexec POLKITPOLICYDIR=$(PREFIX)/share/polkit-1/actions DATADIR=$(PREFIX)/share @@ -29,6 +28,7 @@ SYSCONFDIR=/etc DIRS = polkit POFILES = po DBUSDIR=$(SYSCONFDIR)/dbus-1 +PYTHONDIR := $(shell $(PYTHON_PROGRAM) -c "from __future__ import print_function; from distutils.sysconfig import get_python_lib; print(get_python_lib())") PACKAGE = isodumper VERSION = 0.90 @@ -78,10 +78,10 @@ install: install -m 644 polkit/org.mageia.isodumper.policy $(DESTDIR)$(POLKITPOLICYDIR) # 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 backend/raw_write.py $(DESTDIR)$(LIBDIR)/isodumper + mkdir -p $(DESTDIR)$(PYTHONDIR)/isodumper + install -m 755 lib/isodumper.py $(DESTDIR)$(PYTHONDIR)/isodumper + install -m 755 lib/raw_format.py $(DESTDIR)$(PYTHONDIR)/isodumper + install -m 755 backend/raw_write.py $(DESTDIR)$(PYTHONDIR)/isodumper # for manatools mpan file in /etc/mpan/categories.conf.d/ mkdir -p $(DESTDIR)$(SYSCONFDIR)/mpan/categories.conf.d |