From 85b8c040bda8e2221d1198c89c8fe5a159087daa Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sun, 17 Jul 2016 21:59:56 +0200 Subject: [PATCH] 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 bd890842f5d47781d1687f55beab714d1681afad) --- po/Rules-lyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/Rules-lyx b/po/Rules-lyx index f71dc6f88c..42998f2ca5 100644 --- a/po/Rules-lyx +++ b/po/Rules-lyx @@ -57,4 +57,4 @@ formats_l10n.pot: $(top_srcdir)/lib/configure.py # 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) >$@