Signed-off-by: Karel Zak <kzak@redhat.com>
man_MANS =
pkgconfig_DATA =
usrlib_exec_LTLIBRARIES =
-pyexec_LTLIBRARIES =
bin_PROGRAMS =
sbin_PROGRAMS =
dist_usrbin_exec_SCRIPTS =
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 \
pylibmount_la_LDFLAGS = \
-avoid-version -module -shared -export-dynamic
-EXTRA_DIST += libmount/python/libmount/__init__.py
-
CLEANFILES += *.img
endif # BUILD_PYLIBMOUNT