- Use mo files instead of po files when executing make install.

Fixes #940
      
    locale/
        Makefile.am

svn path=/trunk/boinc/; revision=19426
This commit is contained in:
Rom Walton 2009-10-30 20:12:17 +00:00
parent 0ce0610ccf
commit 37ef89c569
2 changed files with 12 additions and 10 deletions

View File

@ -8841,3 +8841,10 @@ Charlie 30 Oct 2009
mac_build/
boinc.xcodeproj/
project.pbxproj
Rom 30 Oct 2009
- Use mo files instead of po files when executing make install.
Fixes #940
locale/
Makefile.am

View File

@ -5,29 +5,25 @@ include $(top_srcdir)/Makefile.incl
datadir = $(prefix)/share/locale
locale_dirs = \
af_ZA \
ar \
be \
bg \
ca \
cs \
cs_CZ \
da \
de \
el \
en_US \
es \
eu \
fi \
fa \
fr \
gl \
hr \
hu \
it \
ja \
ko_KR \
ko \
lt \
lv \
nb \
nl \
pl \
pt \
@ -35,7 +31,6 @@ locale_dirs = \
ro \
ru \
sk \
sl \
sv_SE \
tr \
uk \
@ -46,8 +41,8 @@ install-exec-hook:
mydir=$(DESTDIR)$(datadir) ;\
for ldir in $(locale_dirs) ; do \
$(INSTALL) -d $$mydir/$$ldir ; \
if [ -f $$ldir/BOINC-Manager.po ] ; then \
$(INSTALL) $$ldir/BOINC-Manager.po $$mydir/$$ldir/BOINC-Manager.po ; \
if [ -f $$ldir/BOINC-Manager.mo ] ; then \
$(INSTALL) $$ldir/BOINC-Manager.mo $$mydir/$$ldir/BOINC-Manager.mo ; \
fi ;\
done