X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/5f52c9fa808e97b02472c8285222161ca679c2a4..3a4d44ac0f28fa87f1d8cde20b5e38dd644d5b37:/Makefile.am?ds=sidebyside diff --git a/Makefile.am b/Makefile.am old mode 100644 new mode 100755 index b74b7b56..c517d9c5 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,18 @@ -AUTOMAKE_OPTIONS = gnu +SUBDIRS = include lib main data po tools -SUBDIRS = lib main data po - -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