]> git.lyx.org Git - features.git/commitdiff
Fix i18n.inc creation with some out of tree builds
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 17 Jul 2016 19:59:56 +0000 (21:59 +0200)
committerRichard Heck <rgheck@lyx.org>
Mon, 18 Jul 2016 02:18:22 +0000 (22:18 -0400)
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

index f71dc6f88c9983140fc0ba9fdabc8b617eab8839..42998f2ca510f09ece00a9f99a502274c3ee456f 100644 (file)
@@ -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) >$@