From 6073251ca88c7f17366ea409c4a947dd9e98cdcf Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 27 Sep 2013 14:06:14 +0200 Subject: build-sys: one install dir for all pylibmount stuff Signed-off-by: Karel Zak --- libmount/python/Makemodule.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libmount/python') 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 \ -- cgit v1.2.3-55-g7522