X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e66186ea39574e7204e57bb49c7753ebd7ff94b4..a93c66310e4f2ee1ca0811b0aed1b71227fb0b12:/Makefile.am diff --git a/Makefile.am b/Makefile.am index f0807b7a..69f0c775 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,15 @@ -AUTOMAKE_OPTIONS = gnu +SUBDIRS = lib main data po tools -SUBDIRS = lib main data +installdir = $(pkglibdir)/python -installdir = $(LIBDIR)/enigma2/python +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 -install_DATA = \ - Navigation.py NavigationInstance.py RecordTimer.py ServiceReference.py \ - keyids.py keymapparser.py mytest.py skin.py timer.py tools.py +LANGS := ar ca cs da de el en es fi fr fy hr hu is it lt lv nl no pl pt ru sv sk sl sr tr uk + +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;