Aegisub/aegisub/po/Makefile
Thomas Goyne 1e030289ad Revamp how version tagging works
Rather than having it be a configurable option, simply build in final
release mode if Aegisub is being built from a signed tag, and get the
version information from that tag.

Drop the version number from the OS X app bundle when not building from
a tag as it done everywhere else. Drop the arch suffix since ppc hasn't
been tested in years and isn't worth testing as it's only going to get
less relevant as time goes on.

Remove some redundant definitions in the build system.
2012-08-19 14:33:50 -07:00

48 lines
763 B
Makefile

include ../Makefile.inc
.SUFFIXES: .po .mo
PO = \
ca.po \
cs.po \
da.po \
de.po \
el.po \
es.po \
eu.po \
fa.po \
fi.po \
fr_FR.po \
hu.po \
id.po \
it.po \
ja.po \
ko.po \
pl.po \
pt_BR.po \
pt_PT.po \
ru.po \
sr_RS.po \
sr_RS@latin.po \
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 $(DESTDIR)$(P_LOCALE)/, $(basename $(PO))))
@for i in $(basename $(PO)); do \
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; \
done
CLEANFILES = $(MO)
include ../Makefile.target