[glom/glom-1-28] Build: Set GLOM_LOCALEDIR from localdir, as set by configure.



commit 5f64bc6e3ea6e495fbe672c731074f6508f4b3e2
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Feb 29 11:46:21 2016 +0100

    Build: Set GLOM_LOCALEDIR from localdir, as set by configure.
    
    Like generated po/Makefile.in.in file does, to decide where to
    instal the translation files.
    Instead of guessing it based on the prefix, causing us not to show
    the translations when staring in appropriate locale.
    Bug #761372 (m.rick.mac)
    And this fixes the 3 test cases that have been failing for me for
    a while.

 Makefile_glom.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile_glom.am b/Makefile_glom.am
index fd4b9e1..5a812a6 100644
--- a/Makefile_glom.am
+++ b/Makefile_glom.am
@@ -17,7 +17,7 @@
 
 
 # The location of the gettext catalogs as defined by intltool.
-glom_localedir = $(prefix)/$(DATADIRNAME)/locale
+glom_localedir = @localedir@
 
 #Let gimpruler build without changing the paths in its source code:
 glom_includes += -I$(top_srcdir)/glom/utility_widgets/gimpruler


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]