l10n_pots: qt4_l10n.pot layouts_l10n.pot languages_l10n.pot latexfonts_l10n.pot encodings_l10n.pot ui_l10n.pot external_l10n.pot formats_l10n.pot
cat $^ | msguniq -o $(DOMAIN).po
+ rm $^
LYX_POT = LC_ALL=C ; export LC_ALL ; \
$(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir)
$(top_srcdir)/lib/layouts/*.module
$(LYX_POT) -o $@ -t layouts $^
-#FIXME: I am not sure what this does. Why read the po files in this case?
+# Read translatable strings from layouts and translations from the po files and
+# create the layouttranslations file containing all LaTeX relevant translations
$(top_srcdir)/lib/layouttranslations: $(POFILES) $(top_srcdir)/lib/layouts/*.layout \
$(top_srcdir)/lib/layouts/*.inc $(top_srcdir)/lib/layouts/*.module
$(LYX_POT) -o $@ -t layouttranslations ${top_srcdir}/lib/layouts/*.layout ${top_srcdir}/lib/layouts/*.inc ${top_srcdir}/lib/layouts/*.module