From: Andreas Oberritter Date: Tue, 18 Aug 2009 14:10:40 +0000 (+0200) Subject: move supported language codes to po/LINGUAS X-Git-Tag: 2.6.0~120 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/911e54496f061ca9cd22bef12a889b70b5bb03a9?hp=3f7725e9ffccaa9cdb0671d618aa3449cf17a047 move supported language codes to po/LINGUAS --- 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 diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 00000000..852dc4ac --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +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 diff --git a/po/Makefile.am b/po/Makefile.am index 6f0010e3..b589e70a 100755 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -5,7 +5,7 @@ GETTEXT=xgettext #MSGFMT = ./msgfmt.py MSGFMT = msgfmt -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)/LINGUAS) LANGPO := $(foreach LANG, $(LANGS),$(LANG).po) LANGMO := $(foreach LANG, $(LANGS),$(LANG).mo)