Permalink
Browse files

Fix translations build and installation in VPATH builds

  • Loading branch information...
1 parent 03c66d5 commit 29e64583b9940fa8612053e060ad00841cebd32f @b4n b4n committed Jun 18, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 m4/geany-i18n.m4
View
@@ -13,10 +13,7 @@ AC_DEFUN([GEANY_I18N],
if test -n "${LINGUAS}"; then
ALL_LINGUAS="${LINGUAS}"
else
- if test -z "$conf_dir"; then
- conf_dir="."
- fi
- ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[]1 }'`
+ ALL_LINGUAS=`cd "$srcdir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[]1 }'`
fi
AM_GLIB_GNU_GETTEXT

0 comments on commit 29e6458

Please sign in to comment.