Created
May 16, 2018 08:32
-
-
Save codingjoe/3cd82a7aaa34711b3e66ea9d7ccf8c1a to your computer and use it in GitHub Desktop.
compile gettext PO files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MSGLANGS = $(wildcard */locale/*/LC_MESSAGES/*.po) | |
MSGOBJS = $(MSGLANGS:.po=.mo) | |
gettext: $(MSGOBJS) | |
gettext-clean: | |
-rm ${MSGOBJS} | |
%.mo: %.po | |
msgfmt -c -o $@ $*.po |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment