cplay

annotate 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
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) *~