X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/fc045d731e16175e39fdd4f618f3b174ec538948..b7ebc25eb39de9b564be52626b07e8ecba810d9c:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 05359e4b..0ba310fa 100644 --- 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 GlobalActions.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)$(pkgdatadir)/meta/enigma2/plugin_*.xml > $(DESTDIR)$(pkgdatadir)/meta/enigma2/index_$$lang.xml; \ + done + +uninstall-hook: + $(RM) $(DESTDIR)$(pkgdatadir)/meta/enigma2/index_*.xml