aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore1
-rw-r--r--data/Makefile.am12
-rw-r--r--data/indicator-custom.service.in3
3 files changed, 15 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
new file mode 100644
index 0000000..db1b136
--- /dev/null
+++ b/.bzrignore
@@ -0,0 +1 @@
+data/indicator-custom.service
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