Use `transform'.
[lilypond.git] / po / GNUmakefile
blobc277ee920c141290123a686c7df5186ae47b41dc
1 # title makefile for po
2 # file po/Makefile
4 depth = ..
6 NAME = lilypond
7 MODULE_NAME = po
8 DOMAIN = $(NAME)
9 EXTRA_DIST_FILES = TODO
10 STEPMAKE_TEMPLATES=podir
12 include $(depth)/make/stepmake.make
14 default: $(MO_FILES)
16 local-install: $(MO_FILES)
17 for i in $(CATALOGS); do \
18 $(INSTALL) -d $(DESTDIR)$(localedir)/$$i/LC_MESSAGES; \
19 $(INSTALL) -m 644 $(outdir)/$$i.mo \
20 $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/$(package).mo; \
21 done
23 local-uninstall:
24 for i in $(CATALOGS); do \
25 rm -f $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/$(package).mo; \
26 rmdir $(DESTDIR)$(localedir)/$$i/LC_MESSAGES || true; \
27 done