Mercurial > cplay
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:aa5f022eac8a |
---|---|
1 POFILES = $(wildcard *.po) | |
2 MOFILES = $(POFILES:.po=.mo) | |
3 | |
4 $(MOFILES): $(POFILES) | |
5 for i in $(POFILES); do msgfmt $$i -o $${i%.po}.mo; done | |
6 | |
7 all: $(MOFILES) | |
8 | |
9 install: all | |
10 for i in $(MOFILES); do \ | |
11 mkdir -p $(PREFIX)/share/locale/$${i%.mo}/LC_MESSAGES; \ | |
12 install -c -m 644 $$i $(PREFIX)/share/locale/$${i%.mo}/LC_MESSAGES/cplay.mo; \ | |
13 done | |
14 | |
15 clean: | |
16 rm -f $(MOFILES) *~ |