From 7bf0ee9360f8e9fcde6e87d2c75165896ca9649e Mon Sep 17 00:00:00 2001 From: Date: Thu, 19 Jan 2006 09:08:12 +0000 Subject: make .service file generation actually work 20060119090812-25e70-e3cbf28ab3e7afce40702fa4f89cb4565a2a7b9c.gz --- data/Makefile.am | 8 +++++++- data/org.freedesktop.Telepathy.ConnectionManager.gabble.in | 3 --- .../org.freedesktop.Telepathy.ConnectionManager.gabble.service.in | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 data/org.freedesktop.Telepathy.ConnectionManager.gabble.in create mode 100644 data/org.freedesktop.Telepathy.ConnectionManager.gabble.service.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 204205ae9..6dd1d6f86 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,2 +1,8 @@ +# Dbus service file servicedir = $(DBUS_SERVICES_DIR) -service_DATA = org.freedesktop.Telepathy.ConnectionManager.gabble +service_in_files = org.freedesktop.Telepathy.ConnectionManager.gabble.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)|" $< > $@ diff --git a/data/org.freedesktop.Telepathy.ConnectionManager.gabble.in b/data/org.freedesktop.Telepathy.ConnectionManager.gabble.in deleted file mode 100644 index 5d57db2a3..000000000 --- a/data/org.freedesktop.Telepathy.ConnectionManager.gabble.in +++ /dev/null @@ -1,3 +0,0 @@ -[D-BUS Service] -Name=org.freedesktop.Telepathy.ConnectionManager.gabble -Exec=@EXEC_DIR@/telepathy-gabble diff --git a/data/org.freedesktop.Telepathy.ConnectionManager.gabble.service.in b/data/org.freedesktop.Telepathy.ConnectionManager.gabble.service.in new file mode 100644 index 000000000..1988259cc --- /dev/null +++ b/data/org.freedesktop.Telepathy.ConnectionManager.gabble.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.freedesktop.Telepathy.ConnectionManager.gabble +Exec=@bindir@/telepathy-gabble -- cgit v1.2.3