[empathy] Don't install Call service files if empathy-call is not built



commit aba9ae9e811e5cb65745f16450c547362595330c
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Thu Aug 18 16:19:38 2011 +0100

    Don't install Call service files if empathy-call is not built

 data/Makefile.am |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index d652ca9..e6414a8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -29,9 +29,13 @@ servicefile_in_files = \
 	org.freedesktop.Telepathy.Client.Empathy.Chat.service.in \
 	org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in \
 	org.freedesktop.Telepathy.Client.Empathy.Auth.service.in \
-	org.freedesktop.Telepathy.Client.Empathy.Call.service.in \
 	org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
 
+if HAVE_CALL
+servicefile_in_files += \
+	org.freedesktop.Telepathy.Client.Empathy.Call.service.in
+endif
+
 servicefile_DATA = $(servicefile_in_files:.service.in=.service)
 
 org.freedesktop.Telepathy.Client.Empathy.Chat.service: org.freedesktop.Telepathy.Client.Empathy.Chat.service.in
@@ -54,9 +58,13 @@ clientfile_DATA = \
 	Empathy.Chat.client \
 	Empathy.AudioVideo.client \
 	Empathy.Auth.client \
-	Empathy.Call.client \
 	Empathy.FileTransfer.client
 
+if HAVE_CALL
+clientfile_DATA += \
+	Empathy.Call.client
+endif
+
 htmldir = $(datadir)/empathy
 html_DATA = \
 	Template.html \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]