X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Makefile.am;h=38e8ab2d5ea0f385a1a91b482581732c117d45f5;hp=8890afe32ec30ac558b1324be1b492d1d0217733;hb=be67b1e0d0610322d07f2bb71cc21b3d31faf9fe;hpb=f51c8ddf3d774e5dbfc04ab546aa2ea6c7225172 diff --git a/Makefile.am b/Makefile.am index 8890afe..38e8ab2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,15 @@ -AUTOMAKE_OPTIONS = gnu +SUBDIRS = include lib main data po tools -SUBDIRS = lib main +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 := $(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