cplay

view po/Makefile @ 3:07e746bdb6bb

Added tag 1.49-meillo for changeset c7d8ec7da73b
author markus schnalke <meillo@marmaro.de>
date Wed, 27 Sep 2017 09:37:03 +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) *~