Code

configure.ac: use $srcdir to refer to po/LINGUAS
authorMax Kellermann <max@duempel.org>
Thu, 10 Jul 2014 08:06:51 +0000 (10:06 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 10 Jul 2014 08:08:23 +0000 (10:08 +0200)
Fixes out-of-tree builds.  Previously, no PO file was used, and thus
no PO files were included in the tarball (Mantis 0004016).

NEWS
configure.ac

diff --git a/NEWS b/NEWS
index 533c512198e78172be9e987e80905bb1f970e7ea..564b74cfd661d4c7b30c25c6a3b6af36d0bfce46 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
 ncmpc 0.23 - not yet released
+* fix broken l10n in out-of-tree builds
 
 
 ncmpc 0.22 - (2014-06-09)
index e9c3ec0f3d7f5bac23ebcc7be602cb3b44f89d87..fb1837a30ea7c1bf9bc6684b7998f6bb3e657e97 100644 (file)
@@ -28,7 +28,7 @@ dnl initialize variables
 dnl =======================================================
 
 dnl i18n
-ALL_LINGUAS=`grep -v '^\#' po/LINGUAS`
+ALL_LINGUAS=`grep -v '^\#' $srcdir/po/LINGUAS`
 
 set -- $CFLAGS