X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7d7ca8ee2eaae704989a1552ad429794d402f550..4946a987277adbbd057e4d82d54e7e4ef688e419:/lib/python/Makefile.am?ds=sidebyside diff --git a/lib/python/Makefile.am b/lib/python/Makefile.am index e0d5f0cd..1877efc1 100644 --- a/lib/python/Makefile.am +++ b/lib/python/Makefile.am @@ -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 " > 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 + +enigma.py: enigma_python_wrap.cxx + +CLEANFILES = enigma.py enigma_python_wrap.cxx installdir = $(LIBDIR)/enigma2/python -install_DATA = \ +install_PYTHON = \ enigma.py