Hi,

this patch makes datastore to install the .service files so dbus can
auto-start the services.

Should be applied for people who update sugar-jhbuild and cannot start
any activity.

Regards,

Tomeu
diff --git a/etc/Makefile.am b/etc/Makefile.am
index 7ae2cce..9ec2ccf 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -1,10 +1,11 @@
 servicedir = $(datadir)/dbus-1/services
-
-service_DATA =
-	org.laptop.sugar.DataStore.service \
-	org.laptop.sugar.DataStore.service.in \
-	org.laptop.sugar.Indexer.service \
+service_in_files =	\
+	org.laptop.sugar.DataStore.service.in	\
 	org.laptop.sugar.Indexer.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+$(service_DATA): $(service_in_files) Makefile
+	@sed -e "s|[EMAIL PROTECTED]@|$(bindir)|" $< > $@
 
 DISTCLEANFILES = $(service_DATA)
 
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

Reply via email to