summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorKarel Zak2013-09-27 14:06:14 +0200
committerKarel Zak2013-09-27 14:23:38 +0200
commit6073251ca88c7f17366ea409c4a947dd9e98cdcf (patch)
treef59d9c0ba03104609b0986d180ea0f7848a4b096 /libmount/python
parentbuild-sys: fix lastb symlink (diff)
downloadkernel-qcow2-util-linux-6073251ca88c7f17366ea409c4a947dd9e98cdcf.tar.gz
kernel-qcow2-util-linux-6073251ca88c7f17366ea409c4a947dd9e98cdcf.tar.xz
kernel-qcow2-util-linux-6073251ca88c7f17366ea409c4a947dd9e98cdcf.zip
build-sys: one install dir for all pylibmount stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index cc36f8958..7f286dbfb 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -2,12 +2,14 @@
if BUILD_PYLIBMOUNT
pylibmountexecdir = $(pyexecdir)/libmount
-pylibmountexec_LTLIBRARIES = pylibmount.la
-pythonlibmountdir = $(pythondir)/libmount
-pythonlibmount_SCRIPTS = libmount/python/libmount/__init__.py
+# Please, don't use $pythondir for the scripts. We have to use the same
+# directory for binary stuff as well as for the scripts otherwise it's
+# not possible to install 32-bit and 64-bit version on the same system.
+pylibmountexec_LTLIBRARIES = pylibmount.la
+pylibmountexec_SCRIPTS = libmount/python/libmount/__init__.py
-EXTRA_DIST += $(pythonlibmount_SCRIPTS)
+EXTRA_DIST += $(pylibmountexec_SCRIPTS)
pylibmount_la_SOURCES = \
libmount/python/pylibmount.c \