Aegisub/locale/Makefile.am
Niels Martin Hansen d244277ac9 More fixing build system
Originally committed to SVN as r1148.
2007-04-26 21:38:42 +00:00

15 lines
325 B
Makefile

AUTOMAKE_OPTIONS = foreign
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