[DVDBurn] allow burning of recordings that are currently playing in the background...
[enigma2.git] / Makefile.am
old mode 100644 (file)
new mode 100755 (executable)
index 813e4f7..c517d9c
@@ -1,4 +1,4 @@
-SUBDIRS = lib main data po tools
+SUBDIRS = include lib main data po tools
 
 installdir = $(pkglibdir)/python
 
@@ -6,3 +6,13 @@ 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 := $(shell cat $(srcdir)/po/LINGUAS)
+
+install-exec-hook:
+       for lang in $(LANGS); do \
+               $(PYTHON) $(srcdir)/tools/genmetaindex.py $$lang $(DESTDIR)$(datadir)/meta/plugin_*.xml > $(DESTDIR)$(datadir)/meta/index-enigma2_$$lang.xml; \
+       done
+
+uninstall-hook:
+       $(RM) $(DESTDIR)$(datadir)/meta/index-enigma2_*.xml