Mercurial > cplay
diff po/Makefile @ 0:aa5f022eac8a 1.49
Use upstream cplay-1.49 as a start
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 27 Sep 2017 09:22:32 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/po/Makefile Wed Sep 27 09:22:32 2017 +0200 @@ -0,0 +1,16 @@ +POFILES = $(wildcard *.po) +MOFILES = $(POFILES:.po=.mo) + +$(MOFILES): $(POFILES) + for i in $(POFILES); do msgfmt $$i -o $${i%.po}.mo; done + +all: $(MOFILES) + +install: all + for i in $(MOFILES); do \ + mkdir -p $(PREFIX)/share/locale/$${i%.mo}/LC_MESSAGES; \ + install -c -m 644 $$i $(PREFIX)/share/locale/$${i%.mo}/LC_MESSAGES/cplay.mo; \ + done + +clean: + rm -f $(MOFILES) *~