aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am12
-rw-r--r--data/indicator-custom.service.in3
2 files changed, 14 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 599c41b..e93e589 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1 +1,11 @@
-# Data
+
+dbus_servicesdir = $(DBUSSERVICEDIR)
+dbus_services_DATA = indicator-custom.service
+
+%.service: %.service.in
+ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+EXTRA_DIST = indicator-custom.service.in
+
+CLEANFILES = indicator-custom.service
+
diff --git a/data/indicator-custom.service.in b/data/indicator-custom.service.in
new file mode 100644
index 0000000..be64983
--- /dev/null
+++ b/data/indicator-custom.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.ayatana.indicator.custom
+Exec=@libexecdir@/indicator-custom-service