summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorKarel Zak2013-09-26 12:55:30 +0200
committerKarel Zak2013-09-26 12:55:30 +0200
commit808c876512187d146b3d54e1ee2b74a6520b5216 (patch)
tree5a66f988220a9bec3bdd35dbcd2510b37a2f9d81 /libmount/python
parentdocs: update AUTHORS file (diff)
downloadkernel-qcow2-util-linux-808c876512187d146b3d54e1ee2b74a6520b5216.tar.gz
kernel-qcow2-util-linux-808c876512187d146b3d54e1ee2b74a6520b5216.tar.xz
kernel-qcow2-util-linux-808c876512187d146b3d54e1ee2b74a6520b5216.zip
build-sys: install to the correct python dirs
It seems we have to call AM_PATH_PYTHON() monster to get pyexec (shared libs) and python (scripts) directories. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index 657cdcb2c..742d4c536 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -3,7 +3,9 @@ if BUILD_PYLIBMOUNT
pylibmountexecdir = $(pyexecdir)/libmount
pylibmountexec_LTLIBRARIES = pylibmount.la
-pylibmountexec_SCRIPTS = libmount/python/libmount/__init__.py
+
+pythonlibmountdir = $(pythondir)/libmount
+pythonlibmount_SCRIPTS = libmount/python/libmount/__init__.py
pylibmount_la_SOURCES = \
libmount/python/pylibmount.c \