Merge branch 'master' into experimental
[enigma2.git] / lib / python / Makefile.am
index 9eb13df7f45d77d9359df97d1e4b1d6e3ad654cb..e38f7d8240eb308ae0d1dbc2c75ee4b709f825a6 100644 (file)
@@ -13,7 +13,11 @@ enigma_python_wrap.cxx: enigma_python.i
        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