aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/indicator-messages.service.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6177c6d..094a434 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,3 +2,9 @@ SUBDIRS = icons
dbus_servicesdir = $(DBUSSERVICEDIR)
dbus_services_DATA = indicator-messages.service
+
+%.service: %.service.in
+ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+EXTRA_DIST = indicator-messages.service.in
+
diff --git a/data/indicator-messages.service.in b/data/indicator-messages.service.in
index 9ae3960..573a2d6 100644
--- a/data/indicator-messages.service.in
+++ b/data/indicator-messages.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.ayatana.indicator.messages
-Exec=@prefix@/bin/indicator-messages-service
+Exec=@libexecdir@/indicator-messages-service