aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
blob: 83a575c4200aa4fa0cc97e43645faaf339e3d51e (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
SUBDIRS = icons

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

schemasdir   = $(GCONF_SCHEMA_FILE_DIR)
schemas_in_files = empathy.schemas.in
schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@

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

servicefiledir = `pkg-config --variable=session_bus_services_dir dbus-1`
servicefile_in_files = org.freedesktop.Telepathy.Client.Empathy.service.in
servicefile_DATA = $(servicefile_in_files:.service.in=.service)

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

clientfiledir = $(datarootdir)/telepathy/clients
clientfile_DATA = Empathy.client

if GCONF_SCHEMAS_INSTALL
install-data-local:
    if test -z "$(DESTDIR)" ; then \
      for p in $(schemas_DATA) ; do \
        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \
      done \
    fi
else
install-data-local:
endif

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

EXTRA_DIST =                \
    $(desktop_in_files)     \
    $(desktop_DATA)         \
    $(schemas_in_files)     \
    $(schemas_DATA)         \
    $(streamingprefs_DATA)      \
    $(html_DATA)            \
    $(clientfile_DATA)      \
    $(servicefile_in_files)

DISTCLEANFILES =            \
    $(desktop_DATA)     \
    $(schemas_DATA)