cplay

view 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 source
1 POFILES = $(wildcard *.po)
2 MOFILES = $(POFILES:.po=.mo)
4 $(MOFILES): $(POFILES)
5 for i in $(POFILES); do msgfmt $$i -o $${i%.po}.mo; done
7 all: $(MOFILES)
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
15 clean:
16 rm -f $(MOFILES) *~