mirror of https://github.com/odrling/Aegisub
14 lines
300 B
Makefile
14 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
|
|
|