X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=Makefile.am;h=38e8ab2d5ea0f385a1a91b482581732c117d45f5;hb=094cc2d96bc864825aaee214a60679879d163e28;hp=813e4f7d77ae266b1a599f7bbee845fdfed999f9;hpb=93119b6552ecbfebf92d96a6aef2049b0fb1f600;p=vuplus_dvbapp diff --git a/Makefile.am b/Makefile.am index 813e4f7..38e8ab2 100644 --- 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,10 @@ 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)$(pkgdatadir)/meta/enigma2/plugin_*.xml > $(DESTDIR)$(pkgdatadir)/meta/enigma2/index_$$lang.xml; \ + done