3 STEPMAKE_TEMPLATES=podir
5 include $(depth)/make/stepmake.make
7 doc-localedir=$(outdir)
9 DOC_PO_SOURCES = add_html_footer.py langdefs.py
12 for i in $(CATALOGS); do \
13 mkdir -p $(doc-localedir)/$$i/LC_MESSAGES; \
14 cp $(outdir)/$$i.mo $(doc-localedir)/$$i/LC_MESSAGES/$(DOMAIN).mo; \
18 $(PYTHON) $(buildscript-dir)/texi-langutils.py -d $(outdir) -o texi.pot --gettext ../$(depth)/Documentation/user/lilypond.tely
19 xgettext -cjn -L Python -o $(outdir)/buildscripts.pot $(foreach i, $(DOC_PO_SOURCES), $(buildscript-dir)/$(i) )
20 msgcat -o $(outdir)/doc.pot $(outdir)/buildscripts.pot $(outdir)/texi.pot
21 msgmerge -U lilypond-doc.pot $(outdir)/doc.pot
22 for i in $(CATALOGS); do \
23 msgmerge -U $$i.po lilypond-doc.pot; \