From 981ee3649d067e3cf5b39ad46624d1bb5b182534 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Fri, 15 Nov 2019 16:20:44 +0800 Subject: fix mate-panel can not find mo file --- applets/clock/Makefile.am | 2 +- applets/fish/Makefile.am | 2 +- applets/wncklet/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'applets') diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am index fb06adb1..5247f63a 100644 --- a/applets/clock/Makefile.am +++ b/applets/clock/Makefile.am @@ -41,7 +41,7 @@ CLOCK_CPPFLAGS = \ $(CLOCK_CFLAGS) \ -I$(srcdir)/../../libmate-panel-applet \ -I$(top_builddir)/libmate-panel-applet \ - -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE CLOCK_LDADD = \ diff --git a/applets/fish/Makefile.am b/applets/fish/Makefile.am index 6b823e09..f5cfbf78 100644 --- a/applets/fish/Makefile.am +++ b/applets/fish/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = \ -I$(srcdir) \ -I$(srcdir)/../../libmate-panel-applet \ -I$(top_builddir)/libmate-panel-applet \ - -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DFISH_ICONDIR=\""$(fishbitmapsdir)"\" \ $(DISABLE_DEPRECATED_CFLAGS) diff --git a/applets/wncklet/Makefile.am b/applets/wncklet/Makefile.am index d9dc7f51..19923878 100644 --- a/applets/wncklet/Makefile.am +++ b/applets/wncklet/Makefile.am @@ -5,7 +5,7 @@ AM_CPPFLAGS = \ -I$(top_builddir)/applets/wncklet \ -I$(top_srcdir)/libmate-panel-applet \ -I$(top_builddir)/libmate-panel-applet \ - -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ $(DISABLE_DEPRECATED_CFLAGS) AM_CFLAGS = $(WARN_CFLAGS) -- cgit v1.2.1