summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorRuediger Meier2014-06-02 16:34:47 +0200
committerRuediger Meier2014-06-03 13:12:43 +0200
commit15cb27895dc6032992e25e46654d0cc4986dea09 (patch)
treed8809fc6fdcf30b71786755047cecad03c5ade1b /libmount/python
parenttests: ignore deprecated last (diff)
downloadkernel-qcow2-util-linux-15cb27895dc6032992e25e46654d0cc4986dea09.tar.gz
kernel-qcow2-util-linux-15cb27895dc6032992e25e46654d0cc4986dea09.tar.xz
kernel-qcow2-util-linux-15cb27895dc6032992e25e46654d0cc4986dea09.zip
build-sys: use automake's PYTHON primary for __init__.py
Actually the initial reason for this commit was to remove execute permission from installed __init__.py. Now after discovering automake's _PYTHON suffix we slightly cleanup Makemodule.am and we will install byte compiled .pyc and .pyo files. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index efe210efd..aeb76d75f 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -1,5 +1,3 @@
-EXTRA_DIST += libmount/python/__init__.py
-
if BUILD_PYLIBMOUNT
pylibmountexecdir = $(pyexecdir)/libmount
@@ -8,7 +6,7 @@ pylibmountexecdir = $(pyexecdir)/libmount
# 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/__init__.py
+pylibmountexec_PYTHON = libmount/python/__init__.py
pylibmount_la_SOURCES = \
libmount/python/pylibmount.c \