]> git.donarmstrong.com Git - lilypond.git/blob - po/GNUmakefile
Merge branch 'master' into lilypond/translation
[lilypond.git] / po / GNUmakefile
1 # title    makefile for po
2 # file     po/Makefile
3
4 depth = ..
5
6 NAME = lilypond
7 MODULE_NAME = po
8 DOMAIN = $(NAME)
9 EXTRA_DIST_FILES = TODO README
10 STEPMAKE_TEMPLATES=podir 
11
12 include $(depth)/make/stepmake.make
13
14 default: $(MO_FILES)
15
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
22
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
28