2008-06-08 22:18:52 +00:00
|
|
|
## -*- mode: makefile; tab-width: 4 -*-
|
|
|
|
|
2008-05-28 00:58:53 +00:00
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
|
|
|
datadir = $(prefix)/share/locale
|
|
|
|
|
|
|
|
locale_dirs = \
|
|
|
|
ar \
|
|
|
|
be \
|
|
|
|
bg \
|
|
|
|
ca \
|
|
|
|
cs \
|
2010-04-15 19:00:41 +00:00
|
|
|
cy \
|
2008-05-28 00:58:53 +00:00
|
|
|
da \
|
|
|
|
de \
|
|
|
|
el \
|
|
|
|
es \
|
2009-10-30 20:12:17 +00:00
|
|
|
fa \
|
2010-04-15 19:00:41 +00:00
|
|
|
fi \
|
2008-05-28 00:58:53 +00:00
|
|
|
fr \
|
2009-10-30 20:12:17 +00:00
|
|
|
gl \
|
2008-05-28 00:58:53 +00:00
|
|
|
hr \
|
|
|
|
hu \
|
|
|
|
it \
|
|
|
|
ja \
|
2009-10-30 20:12:17 +00:00
|
|
|
ko \
|
2008-05-28 00:58:53 +00:00
|
|
|
lt \
|
|
|
|
lv \
|
2010-04-15 19:00:41 +00:00
|
|
|
nb \
|
2008-05-28 00:58:53 +00:00
|
|
|
nl \
|
2010-04-15 19:00:41 +00:00
|
|
|
nn \
|
2008-05-28 00:58:53 +00:00
|
|
|
pl \
|
|
|
|
pt_BR \
|
2010-04-15 19:00:41 +00:00
|
|
|
pt_PT \
|
2008-05-28 00:58:53 +00:00
|
|
|
ro \
|
|
|
|
ru \
|
|
|
|
sk \
|
2010-04-15 19:00:41 +00:00
|
|
|
sl \
|
2008-05-28 00:58:53 +00:00
|
|
|
sv_SE \
|
|
|
|
tr \
|
|
|
|
uk \
|
|
|
|
zh_CN \
|
|
|
|
zh_TW
|
|
|
|
|
2013-05-03 22:13:17 +00:00
|
|
|
install-data-hook:
|
2008-05-28 00:58:53 +00:00
|
|
|
mydir=$(DESTDIR)$(datadir) ;\
|
|
|
|
for ldir in $(locale_dirs) ; do \
|
2013-05-10 21:34:42 +00:00
|
|
|
$(INSTALL) -d $$mydir/$$ldir ; \
|
2009-10-30 20:12:17 +00:00
|
|
|
if [ -f $$ldir/BOINC-Manager.mo ] ; then \
|
2013-05-08 22:36:19 +00:00
|
|
|
$(INSTALL_DATA) $$ldir/BOINC-Manager.mo $$mydir/$$ldir/BOINC-Manager.mo ; \
|
2008-05-28 00:58:53 +00:00
|
|
|
fi ;\
|
2010-07-13 20:34:12 +00:00
|
|
|
if [ -f $$ldir/BOINC-Client.mo ] ; then \
|
2013-05-08 22:36:19 +00:00
|
|
|
$(INSTALL_DATA) $$ldir/BOINC-Client.mo $$mydir/$$ldir/BOINC-Client.mo ; \
|
2010-07-13 20:34:12 +00:00
|
|
|
fi ;\
|
2008-05-28 00:58:53 +00:00
|
|
|
done
|
|
|
|
|