cplay
annotate po/Makefile @ 2:c7d8ec7da73b
Add mplayer as a backend player
Plus: exchange PCM and Master mixer.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 27 Jul 2017 07:08:00 +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) *~ |