aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c7344c8c8..d81601ed0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -22,15 +22,14 @@ empathy_accounts_SOURCES = empathy-accounts.c
# Dbus service file
servicedir = $(datadir)/dbus-1/services
-service_in_files = org.gnome.Empathy.Chat.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
+service_DATA = \
+ org.gnome.Empathy.Chat.service
+%.service: %.service.in Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
chandlerdir = $(datadir)/telepathy/managers
-chandler_DATA = empathy-chat.chandler
+chandler_DATA = \
+ empathy-chat.chandler
BUILT_SOURCES = \
org.gnome.Empathy.Chat.service