lib/python/Plugins/SystemPlugins/SoftwareManager: more robust code this i.e. fixes:
[enigma2.git] / Makefile.am
1 SUBDIRS = include lib main data po tools
2
3 installdir = $(pkglibdir)/python
4
5 install_PYTHON = \
6         Navigation.py NavigationInstance.py RecordTimer.py SleepTimer.py ServiceReference.py \
7         keyids.py keymapparser.py mytest.py skin.py timer.py tools.py GlobalActions.py \
8         e2reactor.py
9
10 LANGS := $(shell cat $(srcdir)/po/LINGUAS)
11
12 install-exec-hook:
13         for lang in $(LANGS); do \
14                 $(PYTHON) $(srcdir)/tools/genmetaindex.py $$lang $(DESTDIR)$(datadir)/meta/plugin_*.xml > $(DESTDIR)$(datadir)/meta/index-enigma2_$$lang.xml; \
15         done
16
17 uninstall-hook:
18         $(RM) $(DESTDIR)$(datadir)/meta/index-enigma2_*.xml