Revert "Revert "disable m2ts support for release 2.6""
[enigma2.git] / lib / python / Makefile.am
index e82cb650077b36f0138837f682494cec3230a04b..e38f7d8240eb308ae0d1dbc2c75ee4b709f825a6 100644 (file)
@@ -2,10 +2,22 @@ INCLUDES = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src
 
+SUBDIRS = Components Tools Screens Plugins
+
 noinst_LIBRARIES = libenigma_python.a
 
 libenigma_python_a_SOURCES = \
        python.cpp enigma_python_wrap.cxx connections.cpp
 
 enigma_python_wrap.cxx: enigma_python.i
-       swig -I$(top_srcdir)/ -c++ -python enigma_python.i
+       swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i
+       python enigma_py_patcher.py
+
+enigma.py: enigma_python_wrap.cxx
+
+CLEANFILES = enigma.py enigma_python_wrap.cxx
+
+installdir = $(pkglibdir)/python
+
+install_PYTHON = \
+       enigma.py