Actually, POFILES already contains the relative path to the po files,
so that the old code was only working by chance when the source and
build directories were at same level.
(cherry picked from commit
bd890842f5d47781d1687f55beab714d1681afad)
# LyX specific code to generate l10n statistics for the web site
i18n.inc: $(POFILES) postats.py
- (cd $(srcdir) ; $(PYTHON) postats.py "$(VERSION)" $(POFILES)) >$@
+ $(PYTHON) $(srcdir)/postats.py "$(VERSION)" $(POFILES) >$@