aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-12-06 15:35:57 +1300
committerRobert Ancell <robert.ancell@canonical.com>2012-12-06 15:35:57 +1300
commit4993d0aae0511ae56a830fe8b51b1cde5723a1a8 (patch)
tree9830954bcb9bafff96ab13abadd32391c17f539d /data
parent34c7299d98efbcdfeab355c447a5fc1312a97d9e (diff)
downloadayatana-indicator-bluetooth-4993d0aae0511ae56a830fe8b51b1cde5723a1a8.tar.gz
ayatana-indicator-bluetooth-4993d0aae0511ae56a830fe8b51b1cde5723a1a8.tar.bz2
ayatana-indicator-bluetooth-4993d0aae0511ae56a830fe8b51b1cde5723a1a8.zip
Make into a proper indicator
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am9
-rw-r--r--data/indicator-bluetooth.service.in3
2 files changed, 12 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..c96ea3f
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,9 @@
+dbus_servicesdir = $(DBUSSERVICEDIR)
+dist_dbus_services_DATA = indicator-bluetooth.service
+
+%.service: %.service.in
+ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+CLEANFILES = \
+ $(dbus_services_DATA)
+ \ No newline at end of file
diff --git a/data/indicator-bluetooth.service.in b/data/indicator-bluetooth.service.in
new file mode 100644
index 0000000..8b7a8cb
--- /dev/null
+++ b/data/indicator-bluetooth.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=com.canonical.indicator.bluetooth
+Exec=@libexecdir@/indicator-bluetooth-service