[glom] Build: Set GLOM_LOCALEDIR from localdir, as set by configure.



commit 14f00b2be11e145abc809d600b1c7766d42fe104
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 9459ee3..e495162 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]