]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/po/GNUmakefile
Merge with master
[lilypond.git] / Documentation / po / GNUmakefile
1 depth = ../..
2
3 STEPMAKE_TEMPLATES=podir
4
5 include $(depth)/make/stepmake.make
6
7 doc-localedir=$(outdir)
8 DOMAIN=lilypond-doc
9
10 messages: $(MO_FILES)
11         for i in $(CATALOGS); do \
12           mkdir -p $(doc-localedir)/$$i/LC_MESSAGES; \
13           cp $(outdir)/$$i.mo $(doc-localedir)/$$i/LC_MESSAGES/$(DOMAIN).mo; \
14         done
15
16 po-update:
17         $(PYTHON) $(buildscript-dir)/texi-langutils.py -d $(outdir) -o doc.pot --gettext ../$(depth)/Documentation/user/lilypond.tely
18         msgmerge -U lilypond-doc.pot $(outdir)/doc.pot
19         for i in $(CATALOGS); do \
20           msgmerge -U $$i.po lilypond-doc.pot; \
21         done