diff options
| -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) |
