[geany/geany] 29e645: Fix translations build and installation in VPATH builds

Colomban Wendling git-noreply at xxxxx
Thu Jul 26 00:05:28 UTC 2012


Branch:      refs/heads/document-messages
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 18 Jun 2012 14:12:59
Commit:      29e64583b9940fa8612053e060ad00841cebd32f
             https://github.com/geany/geany/commit/29e64583b9940fa8612053e060ad00841cebd32f

Log Message:
-----------
Fix translations build and installation in VPATH builds


Modified Paths:
--------------
    m4/geany-i18n.m4

Modified: m4/geany-i18n.m4
5 files changed, 1 insertions(+), 4 deletions(-)
===================================================================
@@ -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


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list