Fix i18n.inc creation with some out of tree builds

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 bd890842f5)
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-17 21:59:56 +02:00 committed by Richard Heck
parent bf67b7250c
commit 85b8c040bd

View File

@ -57,4 +57,4 @@ formats_l10n.pot: $(top_srcdir)/lib/configure.py
# LyX specific code to generate l10n statistics for the web site # LyX specific code to generate l10n statistics for the web site
i18n.inc: $(POFILES) postats.py i18n.inc: $(POFILES) postats.py
(cd $(srcdir) ; $(PYTHON) postats.py "$(VERSION)" $(POFILES)) >$@ $(PYTHON) $(srcdir)/postats.py "$(VERSION)" $(POFILES) >$@