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 \
|
2012-06-27 03:44:33 +02:00
|
|
|
eu.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:
|
2012-01-08 02:03:45 +01:00
|
|
|
@$(BIN_MKDIR) -p $(addsuffix /LC_MESSAGES/, $(addprefix $(DESTDIR)$(P_LOCALE)/, $(basename $(PO))))
|
2010-12-05 20:12:42 +01:00
|
|
|
@for i in $(basename $(PO)); do \
|
2012-08-19 23:33:50 +02:00
|
|
|
echo $(BIN_INSTALL) $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_COMMAND).mo; \
|
|
|
|
$(BIN_INSTALL) $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_COMMAND).mo; \
|
2010-12-05 20:12:42 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
CLEANFILES = $(MO)
|
|
|
|
|
|
|
|
include ../Makefile.target
|