]> git.0d.be Git - empathy.git/blob - data/Makefile.am
Allow to build with empathy-av
[empathy.git] / data / Makefile.am
1 SUBDIRS = icons
2
3 desktopdir = $(datadir)/applications
4 desktop_in_files = \
5         empathy.desktop.in \
6         empathy-accounts.desktop.in \
7         $(NULL)
8 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
9 @INTLTOOL_DESKTOP_RULE@
10
11 gsettings_files = \
12         org.gnome.Empathy.gschema.xml.in \
13         $(NULL)
14 gsettings_SCHEMAS = $(gsettings_files:.xml.in=.xml)
15 @INTLTOOL_XML_NOMERGE_RULE@
16 @GSETTINGS_RULES@
17
18 convertdir = $(datarootdir)/GConf/gsettings
19 convert_DATA = \
20         empathy.convert
21
22 servicefiledir = $(datadir)/dbus-1/services
23 servicefile_in_files = \
24         org.freedesktop.Telepathy.Client.Empathy.Chat.service.in \
25         org.freedesktop.Telepathy.Client.Empathy.Auth.service.in \
26         org.freedesktop.Telepathy.Client.Empathy.Call.service.in \
27         org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
28
29 if HAVE_EMPATHY_AV
30 servicefile_in_files += \
31         org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
32 endif
33
34 servicefile_DATA = $(servicefile_in_files:.service.in=.service)
35
36 org.freedesktop.Telepathy.Client.Empathy.Chat.service: org.freedesktop.Telepathy.Client.Empathy.Chat.service.in
37         $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
38
39 org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service: org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
40         $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
41
42 org.freedesktop.Telepathy.Client.Empathy.Auth.service: org.freedesktop.Telepathy.Client.Empathy.Auth.service.in
43         $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
44
45 org.freedesktop.Telepathy.Client.Empathy.Call.service: org.freedesktop.Telepathy.Client.Empathy.Call.service.in
46         $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
47
48 org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service: org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service.in
49         $(AM_V_GEN)sed -e "s|[@]bindir[@]|$(bindir)|" $< > $@
50
51 clientfiledir = $(datarootdir)/telepathy/clients
52 clientfile_DATA = \
53         Empathy.Chat.client \
54         Empathy.Auth.client \
55         Empathy.Call.client \
56         Empathy.FileTransfer.client
57
58 if HAVE_EMPATHY_AV
59 clientfile_DATA += \
60         Empathy.AudioVideo.client
61 endif
62
63 htmldir = $(datadir)/empathy
64 html_DATA = \
65         Template.html \
66         empathy-log-window.html \
67         $(NULL)
68
69 EXTRA_DIST =                            \
70         $(convert_DATA)                 \
71         $(desktop_in_files)             \
72         $(desktop_DATA)                 \
73         $(schemas_DATA)                 \
74         $(html_DATA)                    \
75         $(clientfile_DATA)              \
76         $(servicefile_in_files)         \
77         $(gsettings_files)              \
78         $(NULL)
79
80 DISTCLEANFILES =                \
81         $(desktop_DATA)         \
82         $(schemas_DATA)         \
83         $(servicefile_DATA)     \
84         $(gsettings_SCHEMAS)    \
85         $(NULL)