Unwetterinfo: fix non-working info for Austrian Bundeslšnder. Fix provided by koepi
[enigma2-plugins.git] / po / Makefile.am
1 LANGS = ar ca cs da de el en es fa fi fr fy hr hu is it lt nl no pl pt ru sk sr sv tr
2 PLUGIN = @PACKAGE_NAME@
3
4 LANGMO = $(LANGS:=.mo)
5 LANGPO = $(LANGS:=.po)
6
7 BUILT_SOURCES = $(LANGMO)
8 CLEANFILES = $(LANGMO)
9
10 .po.mo:
11         $(MSGFMT) -o $@ $<
12
13 dist-hook: $(LANGPO)
14
15 install-data-local: $(LANGMO)
16         for lang in $(LANGS); do \
17                 $(mkinstalldirs) $(DESTDIR)${datadir}/enigma2/po/$$lang/LC_MESSAGES; \
18                 $(INSTALL_DATA) $$lang.mo $(DESTDIR)${datadir}/enigma2/po/$$lang/LC_MESSAGES/@PACKAGE_NAME@.mo; \
19         done
20
21 uninstall-local:
22         for lang in $(LANGS); do \
23                 $(RM) $(DESTDIR)${datadir}/enigma2/po/$$lang/LC_MESSAGES/@PACKAGE_NAME@.mo; \
24         done