Components/GUISkin.py: - add possibility to access the Screen title from inside the...
[enigma2.git] / lib / python / Makefile.am
index e0d5f0cd7656bc6d3c643f46fb4759afbbc6c2e3..e38f7d8240eb308ae0d1dbc2c75ee4b709f825a6 100644 (file)
@@ -10,12 +10,14 @@ 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
-       echo "#include <lib/python/python.h>" > bla.cxx
-       cat enigma_python_wrap.cxx >> bla.cxx
-       mv bla.cxx enigma_python_wrap.cxx
+       swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i
+       python enigma_py_patcher.py
 
-installdir = $(LIBDIR)/enigma2/python
+enigma.py: enigma_python_wrap.cxx
 
-install_DATA = \
+CLEANFILES = enigma.py enigma_python_wrap.cxx
+
+installdir = $(pkglibdir)/python
+
+install_PYTHON = \
        enigma.py