summaryrefslogtreecommitdiff
path: root/drivemount/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount/Makefile.am')
-rw-r--r--drivemount/Makefile.am14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivemount/Makefile.am b/drivemount/Makefile.am
index 46a6c195..b2e99df5 100644
--- a/drivemount/Makefile.am
+++ b/drivemount/Makefile.am
@@ -4,19 +4,21 @@ AM_CPPFLAGS = \
-I. \
-I$(srcdir) \
-DDRIVEMOUNT_MENU_UI_DIR=\""$(uidir)"\" \
- $(MATE_APPLETS4_CFLAGS)
+ $(MATE_APPLETS4_CFLAGS) \
+ $(MATEDESKTOP_CFLAGS)
-libexec_PROGRAMS = drivemount_applet2
+libexec_PROGRAMS = drivemount-applet
-drivemount_applet2_SOURCES = \
+drivemount_applet_SOURCES = \
drivemount.c \
drive-list.c \
drive-list.h \
drive-button.c \
drive-button.h
-drivemount_applet2_LDADD = \
- $(MATE_APPLETS4_LIBS)
+drivemount_applet_LDADD = \
+ $(MATE_APPLETS4_LIBS) \
+ $(MATEDESKTOP_LIBS)
appletdir = $(datadir)/mate-panel/applets
@@ -40,7 +42,7 @@ org.mate.panel.applet.DriveMountAppletFactory.service: $(service_in_files)
-e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
$< > $@
-uidir = $(datadir)/mate-2.0/ui
+uidir = $(datadir)/mate/ui
ui_DATA = drivemount-applet-menu.xml
CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA)