From aba9ae9e811e5cb65745f16450c547362595330c Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 18 Aug 2011 16:19:38 +0100 Subject: Don't install Call service files if empathy-call is not built --- data/Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index d652ca9e5..e6414a805 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 \ -- cgit v1.2.3