X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Makefile.am;h=c517d9c5321e037ae4736c4ed3233591bee4269f;hp=813e4f7d77ae266b1a599f7bbee845fdfed999f9;hb=8d76012a43ac01189160992ce3a5a08614fc93f0;hpb=93119b6552ecbfebf92d96a6aef2049b0fb1f600 diff --git a/Makefile.am b/Makefile.am old mode 100644 new mode 100755 index 813e4f7..c517d9c --- a/Makefile.am +++ b/Makefile.am @@ -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