add Makefiles to include/ and lib/dvb/lowlevel/
[enigma2.git] / Makefile.am
index 157daf0393a6df30c289c8754eb220f2c3f838d4..5e37ca412df03f6ff70fb9164fdce7087fee8080 100644 (file)
@@ -1,4 +1,15 @@
-AUTOMAKE_OPTIONS = gnu
+SUBDIRS = include lib main data po tools
 
-SUBDIRS = lib main
+installdir = $(pkglibdir)/python
 
+install_PYTHON = \
+       Navigation.py NavigationInstance.py RecordTimer.py SleepTimer.py ServiceReference.py \
+       keyids.py keymapparser.py mytest.py skin.py timer.py tools.py GlobalActions.py \
+       e2reactor.py
+
+LANGS := ar ca cs da de el en es fi fr fy hr hu is it lt lv nl no pl pt ru sv sk sl sr tr uk
+
+install-exec-hook:
+       for lang in ${LANGS}; do \
+               python $(srcdir)/tools/genmetaindex.py $$lang $(DESTDIR)$(pkgdatadir)/meta/enigma2/plugin_*.xml > $(DESTDIR)$(pkgdatadir)/meta/enigma2/index_$$lang.xml; \
+               done;