Aegisub/locale/Makefile.am
David Lamparter dc71ec961d posix: build gettext files
Originally committed to SVN as r373.
2006-05-06 14:20:34 +00:00

13 lines
300 B
Makefile

LANGS=de es fr it ko pt_BR ru
localedir = $(datadir)/locale
%.gmo: %/aegisub.po
$(MSGFMT) -o $@ $<
all-am: $(foreach lang,$(LANGS),$(lang).gmo)
install-data-am: all-am
for lang in $(LANGS); do \
$(install_sh_DATA) $${lang}.gmo $(DESTDIR)$(localedir)/$${lang}/LC_MESSAGES/aegisub.mo; \
done