diff options
| author | Andreas Oberritter <obi@saftware.de> | 2009-08-18 16:10:40 +0200 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2009-08-18 16:10:40 +0200 |
| commit | 911e54496f061ca9cd22bef12a889b70b5bb03a9 (patch) | |
| tree | 238a1cd8f0f42b274889d2f3435e4f2c36f421f1 | |
| parent | 3f7725e9ffccaa9cdb0671d618aa3449cf17a047 (diff) | |
| download | enigma2-911e54496f061ca9cd22bef12a889b70b5bb03a9.tar.gz enigma2-911e54496f061ca9cd22bef12a889b70b5bb03a9.zip | |
move supported language codes to po/LINGUAS
| -rw-r--r-- | Makefile.am | 8 | ||||
| -rw-r--r-- | po/LINGUAS | 1 | ||||
| -rwxr-xr-x | po/Makefile.am | 2 |
3 files changed, 6 insertions, 5 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 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) |
