summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2013-08-19 15:24:33 +0200
committerKarel Zak2013-08-19 15:24:33 +0200
commit15c2e011a769d59165f19a81268b3f93534e65b3 (patch)
treea40c7b22872fc9bcfd447533a57af5bead6aa98a
parentpylibmount: add regression tests (diff)
downloadkernel-qcow2-util-linux-15c2e011a769d59165f19a81268b3f93534e65b3.tar.gz
kernel-qcow2-util-linux-15c2e011a769d59165f19a81268b3f93534e65b3.tar.xz
kernel-qcow2-util-linux-15c2e011a769d59165f19a81268b3f93534e65b3.zip
build-sys: install pylibmount into
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--Makefile.am1
-rw-r--r--libmount/python/Makemodule.am7
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 5c626a953..17f4c339d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,7 +38,6 @@ dist_man_MANS =
man_MANS =
pkgconfig_DATA =
usrlib_exec_LTLIBRARIES =
-pyexec_LTLIBRARIES =
bin_PROGRAMS =
sbin_PROGRAMS =
dist_usrbin_exec_SCRIPTS =
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index fd574ef12..550ea774b 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -1,6 +1,9 @@
if BUILD_PYLIBMOUNT
-pyexec_LTLIBRARIES += pylibmount.la
+
+pylibmountexecdir = $(pyexecdir)/libmount
+pylibmountexec_LTLIBRARIES = pylibmount.la
+pylibmountexec_SCRIPTS = libmount/python/libmount/__init__.py
pylibmount_la_SOURCES = \
libmount/python/pylibmount.c \
@@ -21,8 +24,6 @@ pylibmount_la_CFLAGS = \
pylibmount_la_LDFLAGS = \
-avoid-version -module -shared -export-dynamic
-EXTRA_DIST += libmount/python/libmount/__init__.py
-
CLEANFILES += *.img
endif # BUILD_PYLIBMOUNT