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