python $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t ui ${top_srcdir}/lib/ui/*.ui ${top_srcdir}/lib/ui/*.inc
i18n.inc: $(POFILES) postats.py
- (cd $(srcdir) ; python postats.py $(POFILES)) >$@
+ (cd $(srcdir) ; python postats.py "$(VERSION)" $(POFILES)) >$@
external_l10n.pot: $(top_srcdir)/lib/external_templates
python $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t external ${top_srcdir}/lib/external_templates