X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7d7ca8ee2eaae704989a1552ad429794d402f550..cab018779de4f2f01e0fe651e71112754ebd0ef8:/lib/python/Makefile.am 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