summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorKarel Zak2013-08-19 15:24:33 +0200
committerKarel Zak2013-08-19 15:24:33 +0200
commit15c2e011a769d59165f19a81268b3f93534e65b3 (patch)
treea40c7b22872fc9bcfd447533a57af5bead6aa98a /libmount/python
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>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am7
1 files changed, 4 insertions, 3 deletions
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