summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-15 16:20:44 +0800
committerraveit65 <[email protected]>2019-11-15 12:16:58 +0100
commit981ee3649d067e3cf5b39ad46624d1bb5b182534 (patch)
treeaef2c5e4b0e587531485442a38219d0bfa5874e6
parent81fcedf052112e66b46e93c719347b3d9ff8476f (diff)
downloadmate-panel-981ee3649d067e3cf5b39ad46624d1bb5b182534.tar.bz2
mate-panel-981ee3649d067e3cf5b39ad46624d1bb5b182534.tar.xz
fix mate-panel can not find mo file
-rw-r--r--applets/clock/Makefile.am2
-rw-r--r--applets/fish/Makefile.am2
-rw-r--r--applets/wncklet/Makefile.am2
-rw-r--r--libmate-panel-applet/Makefile.am2
-rw-r--r--mate-panel/Makefile.am2
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)