clean up duplicate code, same functions now for 'ok', colors and numbers
[enigma2.git] / lib / python / Makefile.am
index dbcf489eb75b970b1a15df174330264aed28daa4..e0d5f0cd7656bc6d3c643f46fb4759afbbc6c2e3 100644 (file)
@@ -2,6 +2,8 @@ INCLUDES = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src
 
+SUBDIRS = Components Tools Screens Plugins
+
 noinst_LIBRARIES = libenigma_python.a
 
 libenigma_python_a_SOURCES = \
@@ -9,9 +11,11 @@ libenigma_python_a_SOURCES = \
 
 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
 
-enigma_python.i: enigma_iobject.i
+installdir = $(LIBDIR)/enigma2/python
 
-enigma_iobject.i:
-       find ../../.. -name "*.cpp" | xargs grep -h "DEFINE_REF" > enigma_iobject.i
-       
\ No newline at end of file
+install_DATA = \
+       enigma.py