summaryrefslogtreecommitdiff
path: root/po/GNUmakefile
blob: 1907a2c2eee3e3c0d85822832a39a696bcdfebed (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# title	   makefile for po
# file	   po/Makefile

depth = ..

NAME = lilypond
MODULE_NAME = po
DOMAIN = $(NAME)
EXTRA_DIST_FILES = TODO README
STEPMAKE_TEMPLATES=podir 

include $(depth)/make/stepmake.make

default: $(MO_FILES)

local-install: $(MO_FILES)
	for i in $(CATALOGS); do \
	  $(INSTALL) -d $(DESTDIR)$(localedir)/$$i/LC_MESSAGES; \
	  $(INSTALL) -m 644 $(outdir)/$$i.mo \
	  	     $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/$(package).mo; \
	done

local-uninstall:
	for i in $(CATALOGS); do \
	  rm -f $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/$(package).mo; \
	  rmdir $(DESTDIR)$(localedir)/$$i/LC_MESSAGES || true; \
	done