aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@saftware.de>2009-08-18 16:10:40 +0200
committerAndreas Oberritter <obi@saftware.de>2009-08-18 16:10:40 +0200
commit911e54496f061ca9cd22bef12a889b70b5bb03a9 (patch)
tree238a1cd8f0f42b274889d2f3435e4f2c36f421f1 /Makefile.am
parent3f7725e9ffccaa9cdb0671d618aa3449cf17a047 (diff)
downloadenigma2-911e54496f061ca9cd22bef12a889b70b5bb03a9.tar.gz
enigma2-911e54496f061ca9cd22bef12a889b70b5bb03a9.zip
move supported language codes to po/LINGUAS
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 5e37ca41..38e8ab2d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,9 +7,9 @@ install_PYTHON = \
keyids.py keymapparser.py mytest.py skin.py timer.py tools.py GlobalActions.py \
e2reactor.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
+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;
+ 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