summaryrefslogtreecommitdiff
path: root/mate-dictionary
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-19 16:22:11 +0100
committerraveit65 <[email protected]>2020-01-20 21:17:21 +0100
commit3c1b4c9346933326198ce69a97b5d088dcb81ca8 (patch)
tree6afeb51ef9144c116568bf17976e82a867983a9f /mate-dictionary
parent519672fb4f48411bc17e92b9c8c852fe6f29177c (diff)
downloadmate-utils-3c1b4c9346933326198ce69a97b5d088dcb81ca8.tar.bz2
mate-utils-3c1b4c9346933326198ce69a97b5d088dcb81ca8.tar.xz
gettext: Fix locale dir
This allows to load the translations.
Diffstat (limited to 'mate-dictionary')
-rw-r--r--mate-dictionary/libgdict/Makefile.am2
-rw-r--r--mate-dictionary/src/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/mate-dictionary/libgdict/Makefile.am b/mate-dictionary/libgdict/Makefile.am
index 202c1808..4882749c 100644
--- a/mate-dictionary/libgdict/Makefile.am
+++ b/mate-dictionary/libgdict/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gdict\" \
-DLIBDIR=\""$(libdir)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DPREFIX=\""$(prefix)"\" \
- -DMATELOCALEDIR=\""$(mateutilslocaledir)"\" \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
-DGDICTSOURCESDIR=\""$(datadir)/mate-dict/sources"\" \
-DGDICT_ENABLE_INTERNALS \
$(NULL)
diff --git a/mate-dictionary/src/Makefile.am b/mate-dictionary/src/Makefile.am
index 31e91340..6eeac251 100644
--- a/mate-dictionary/src/Makefile.am
+++ b/mate-dictionary/src/Makefile.am
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
-DLIBDIR=\""$(libdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DPKGDATADIR=\""$(datadir)/mate-dictionary"\" \
- -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
$(NULL)
bin_PROGRAMS = mate-dictionary