aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
blob: a0c715550d94dfa11e86b94801ee8dc9dcb1f238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
SUBDIRS = icons

desktopdir = $(datadir)/applications
desktop_in_files = \
    empathy.desktop.in \
    empathy-accounts.desktop.in \
    $(NULL)
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

gsettings_files = \
    org.gnome.Empathy.gschema.xml.in \
    $(NULL)
gsettings_SCHEMAS = $(gsettings_files:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@

convertdir = $(datarootdir)/GConf/gsettings
convert_DATA = \
    empathy.convert

streamingprefsdir =  $(datadir)/empathy
streamingprefs_DATA =       \
    codec-preferences   \
    element-properties

servicefiledir = $(datadir)/dbus-1/services
servicefile_in_files = \
    org.freedesktop.Telepathy.Client.Empathy.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

servicefile_DATA = $(servicefile_in_files:.service.in=.service)

org.freedesktop.Telepathy.Client.Empathy.service: org.freedesktop.Telepathy.Client.Empathy.service.in
    $(AM_V_GEN)sed -e "s|[@]bindir[@]|$(bindir)|" $< > $@

org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service: org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service.in
    $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

org.freedesktop.Telepathy.Client.Empathy.Auth.service: org.freedesktop.Telepathy.Client.Empathy.Auth.service.in
    $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

org.freedesktop.Telepathy.Client.Empathy.Call.service: org.freedesktop.Telepathy.Client.Empathy.Call.service.in
    $(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

clientfiledir = $(datarootdir)/telepathy/clients
clientfile_DATA = \
    Empathy.client \
    Empathy.AudioVideo.client \
    Empathy.Auth.client \
    Empathy.Call.client

htmldir = $(datadir)/empathy
html_DATA = Template.html

EXTRA_DIST =                \
    $(convert_DATA)         \
    $(desktop_in_files)     \
    $(desktop_DATA)         \
    $(schemas_DATA)         \
    $(streamingprefs_DATA)      \
    $(html_DATA)            \
    $(clientfile_DATA)      \
    $(servicefile_in_files)     \
    $(gsettings_files)      \
    $(NULL)

DISTCLEANFILES =        \
    $(desktop_DATA)     \
    $(schemas_DATA)     \
    $(servicefile_DATA) \
    $(gsettings_SCHEMAS)    \
    $(NULL)