X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Makefile.am;h=c517d9c5321e037ae4736c4ed3233591bee4269f;hp=89cf24db9f0bd4cd515ef232abe3183349e54ed7;hb=33b03607a97f4d3b7baacaca632942570a54ac5c;hpb=60a70ed1710ea89c6ef7a0c4052843209b886d69 diff --git a/Makefile.am b/Makefile.am old mode 100644 new mode 100755 index 89cf24d..c517d9c --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,18 @@ -AUTOMAKE_OPTIONS = gnu +SUBDIRS = include lib main data po tools -SUBDIRS = lib main data - -installdir = $(LIBDIR)/enigma2/python +installdir = $(pkglibdir)/python install_PYTHON = \ - Navigation.py NavigationInstance.py RecordTimer.py ServiceReference.py \ - keyids.py keymapparser.py mytest.py skin.py timer.py tools.py + 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