Install a service file for activating the datastore upon demand

This commit is contained in:
Dan Williams 2006-12-14 13:45:13 -05:00
parent cc39ef169f
commit cb38a2c1fa
3 changed files with 13 additions and 1 deletions

1
services/datastore/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
org.laptop.sugar.DataStore.service

View File

@ -1,3 +1,10 @@
servicedir = $(datadir)/dbus-1/services
service_in_files = org.laptop.sugar.DataStore.service.in
service_DATA = $(service_in_files:.service.in=.service)
$(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
sugardir = $(pkgdatadir)/services/data-store
sugar_PYTHON = \
__init__.py \
@ -6,4 +13,4 @@ sugar_PYTHON = \
bin_SCRIPTS = sugar-data-store
EXTRA_DIST = $(bin_SCRIPTS)
EXTRA_DIST = $(bin_SCRIPTS) org.laptop.sugar.DataStore.service.in

View File

@ -0,0 +1,4 @@
[D-BUS Service]
Name = org.laptop.sugar.DataStore
Exec = @bindir@/sugar-data-store