]> git.0d.be Git - empathy.git/blob - data/Makefile.am
Fix 'make install' for some automake versions. Fixes #570357.
[empathy.git] / data / Makefile.am
1 SUBDIRS = icons
2
3 profiledir = $(datadir)/mission-control/profiles
4 profile_DATA =                          \
5         aim.profile                     \
6         icq.profile                     \
7         jabber.profile                  \
8         salut.profile                   \
9         yahoo.profile                   \
10         gtalk.profile                   \
11         irc.profile                     \
12         msn.profile                     \
13         msn-haze.profile                \
14         sofiasip.profile                \
15         ekiga.profile                   \
16         fwd.profile                     \
17         sipphone.profile                \
18         groupwise.profile               \
19         gadugadu.profile                \
20         qq.profile
21
22 desktopdir = $(datadir)/applications
23 desktop_in_files = empathy.desktop.in
24 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
25 @INTLTOOL_DESKTOP_RULE@
26
27 schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
28 schemas_in_files = empathy.schemas.in
29 schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
30 @INTLTOOL_SCHEMAS_RULE@
31
32 if GCONF_SCHEMAS_INSTALL
33 install-data-local:
34         if test -z "$(DESTDIR)" ; then \
35           for p in $(schemas_DATA) ; do \
36             GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \
37           done \
38         fi
39 else
40 install-data-local:
41 endif
42
43 EXTRA_DIST =                            \
44         $(profile_DATA)                 \
45         $(desktop_in_files)             \
46         $(desktop_DATA)         \
47         $(schemas_in_files)             \
48         $(schemas_DATA)
49
50 DISTCLEANFILES =                        \
51         $(desktop_DATA)         \
52         $(schemas_DATA)
53