2010-12-05 20:12:42 +01:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
.SUFFIXES: .po .mo
|
|
|
|
|
|
|
|
PO = \
|
|
|
|
ca.po \
|
|
|
|
cs.po \
|
|
|
|
da.po \
|
|
|
|
de.po \
|
|
|
|
el.po \
|
|
|
|
es.po \
|
2011-12-28 02:22:37 +01:00
|
|
|
fa.po \
|
2010-12-05 20:12:42 +01:00
|
|
|
fi.po \
|
|
|
|
fr_FR.po \
|
|
|
|
hu.po \
|
2011-12-28 02:22:37 +01:00
|
|
|
id.po \
|
2010-12-05 20:12:42 +01:00
|
|
|
it.po \
|
|
|
|
ja.po \
|
|
|
|
ko.po \
|
2011-12-28 02:22:37 +01:00
|
|
|
pl.po \
|
2010-12-05 20:12:42 +01:00
|
|
|
pt_BR.po \
|
2011-12-28 02:22:37 +01:00
|
|
|
pt_PT.po \
|
2010-12-05 20:12:42 +01:00
|
|
|
ru.po \
|
2011-12-28 02:22:37 +01:00
|
|
|
sr_RS.po \
|
|
|
|
sr_RS@latin.po \
|
2010-12-05 20:12:42 +01:00
|
|
|
vi.po \
|
|
|
|
zh_CN.po \
|
|
|
|
zh_TW.po
|
|
|
|
|
|
|
|
MO = $(addsuffix .mo, $(basename $(PO)))
|
|
|
|
|
|
|
|
all: $(MO)
|
|
|
|
|
|
|
|
%.mo: %.po
|
|
|
|
$(BIN_MSGFMT) -o $@ $<
|
|
|
|
|
|
|
|
install:
|
|
|
|
@$(BIN_MKDIR) -p $(addsuffix /LC_MESSAGES/, $(addprefix $(P_LOCALE)/, $(basename $(PO))))
|
|
|
|
@for i in $(basename $(PO)); do \
|
|
|
|
echo $(BIN_INSTALL) $$i.mo $(P_LOCALE)/$$i/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
|
|
|
|
$(BIN_INSTALL) $$i.mo $(P_LOCALE)/$$i/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
CLEANFILES = $(MO)
|
|
|
|
|
|
|
|
include ../Makefile.target
|