Install service files so that services are automatically

This commit is contained in:
Marco Pesenti Gritti
2006-04-26 02:25:58 -04:00
parent 070088a6a5
commit 200c3d077a
4 changed files with 52 additions and 6 deletions
+16
View File
@@ -5,3 +5,19 @@ icondir = $(pkgdatadir)
icon_DATA = \
fold.png \
unfold.png
# Dbus service file
servicedir = $(datadir)/dbus-1/services
service_in_files = com.redhat.Sugar.Browser.service.in
service_DATA = $(service_in_files:.service.in=.service)
# Rule to make the service file with bindir expanded
$(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
EXTRA_DIST = \
$(service_in_files) \
$(service_DATA)
DISTCLEANFILES = \
$(service_DATA)