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



commit b59758ac4cac00c3178bbb33f93bf50d045c23dd
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]