cplay

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/po/Makefile	Wed Sep 27 09:22:32 2017 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +POFILES = $(wildcard *.po)
     1.5 +MOFILES = $(POFILES:.po=.mo)
     1.6 +
     1.7 +$(MOFILES): $(POFILES)
     1.8 +	for i in $(POFILES); do msgfmt $$i -o $${i%.po}.mo; done
     1.9 +
    1.10 +all: $(MOFILES)
    1.11 +
    1.12 +install: all
    1.13 +	for i in $(MOFILES); do \
    1.14 +		mkdir -p $(PREFIX)/share/locale/$${i%.mo}/LC_MESSAGES; \
    1.15 +		install -c -m 644 $$i $(PREFIX)/share/locale/$${i%.mo}/LC_MESSAGES/cplay.mo; \
    1.16 +	done
    1.17 +
    1.18 +clean:
    1.19 +	rm -f $(MOFILES) *~