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 --- NEWS | 4 ++++ configure.ac | 1 - libmount/python/Makemodule.am | 10 ++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index addbb82c5..f5dc54cf3 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +util-linux 2.24-rc1: Sep 27 2013 +* see Documentation/releases/v2.24-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24-rc1-ChangeLog + util-linux 2.23: Apr 25 2013 * see Documentation/releases/v2.23-ReleaseNotes or complete changelog at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23-ChangeLog diff --git a/configure.ac b/configure.ac index 79d11da93..dc8cb0fb6 100644 --- a/configure.ac +++ b/configure.ac @@ -1542,7 +1542,6 @@ AC_MSG_RESULT([ suid ldflags: ${SUID_LDFLAGS} Python: ${PYTHON_VERSION} - Python scripts: ${pythondir} Python libs: ${pyexecdir} Bash completions: ${with_bashcompletiondir} 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