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 +- libmate-panel-applet/Makefile.am | 2 +- mate-panel/Makefile.am | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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) diff --git a/libmate-panel-applet/Makefile.am b/libmate-panel-applet/Makefile.am index e7a2c22a..196436e9 100644 --- a/libmate-panel-applet/Makefile.am +++ b/libmate-panel-applet/Makefile.am @@ -4,7 +4,7 @@ noinst_PROGRAMS = test-dbus-applet AM_CPPFLAGS = \ $(LIBMATE_PANEL_APPLET_CFLAGS) \ -I$(top_builddir)/libmate-panel-applet \ - -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ $(DISABLE_DEPRECATED_CFLAGS) AM_CFLAGS = $(WARN_CFLAGS) diff --git a/mate-panel/Makefile.am b/mate-panel/Makefile.am index f1a2ea7f..91edecf1 100644 --- a/mate-panel/Makefile.am +++ b/mate-panel/Makefile.am @@ -12,7 +12,7 @@ AM_CPPFLAGS = \ -I$(srcdir) \ -I$(top_builddir)/mate-panel \ -I$(top_builddir)/mate-panel/libpanel-util \ - -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DMATELOCALEDIR=\""$(datadir)/locale"\" \ -DPANELDATADIR=\""$(datadir)/mate-panel"\" \ $(DISABLE_DEPRECATED_CFLAGS) \ $(GTK_LAYER_SHELL_CFLAGS) -- cgit v1.2.1