summaryrefslogtreecommitdiff
path: root/battstat/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'battstat/Makefile.am')
-rw-r--r--battstat/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/battstat/Makefile.am b/battstat/Makefile.am
index 4985f251..21ff989d 100644
--- a/battstat/Makefile.am
+++ b/battstat/Makefile.am
@@ -25,6 +25,7 @@ DIST_SUBDIRS = docs sounds apmlib
AM_CPPFLAGS = \
$(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(HAL_CFLAGS) \
$(UPOWER_CFLAGS) \
@@ -34,10 +35,10 @@ AM_CPPFLAGS = \
-DBATTSTAT_MENU_UI_DIR=\""$(uidir)"\"
-libexec_PROGRAMS = battstat-applet-2
+libexec_PROGRAMS = battstat-applet
-battstat_applet_2_SOURCES = \
+battstat_applet_SOURCES = \
battstat.h \
pixmaps.h \
properties.c \
@@ -53,8 +54,9 @@ battstat_applet_2_SOURCES = \
battstat-upower.h
-battstat_applet_2_LDADD = \
+battstat_applet_LDADD = \
$(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS) \
$(LIBNOTIFY_LIBS) \
$(HAL_LIBS) \
$(APMLIB) \
@@ -91,7 +93,7 @@ org.mate.panel.applet.BattstatAppletFactory.service: $(service_in_files)
CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS) *.gschema.valid
-uidir = $(datadir)/mate-2.0/ui
+uidir = $(datadir)/mate/ui
ui_DATA = battstat-applet-menu.xml
EXTRA_DIST = \