summaryrefslogtreecommitdiff
path: root/applets
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 /applets
parent81fcedf052112e66b46e93c719347b3d9ff8476f (diff)
downloadmate-panel-981ee3649d067e3cf5b39ad46624d1bb5b182534.tar.bz2
mate-panel-981ee3649d067e3cf5b39ad46624d1bb5b182534.tar.xz
fix mate-panel can not find mo file
Diffstat (limited to 'applets')
-rw-r--r--applets/clock/Makefile.am2
-rw-r--r--applets/fish/Makefile.am2
-rw-r--r--applets/wncklet/Makefile.am2
3 files changed, 3 insertions, 3 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)