]> git.0d.be Git - empathy.git/blob - data/Makefile.am
New objects: GossipAccountChooser and GossipNewChatroom, we can now join
[empathy.git] / data / Makefile.am
1 SUBDIRS = 16x16 22x22 32x32 48x48 scalable
2
3 profiledir = $(datadir)/mission-control/profiles
4 profile_DATA =                          \
5         jabber.profile                  \
6         gtalk.profile                   \
7         salut.profile                   \
8         irc.profile                     \
9         msn.profile
10
11 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
12
13 install-data-hook: update-icon-cache
14 uninstall-hook: update-icon-cache
15 update-icon-cache:
16         @-if test -z "$(DESTDIR)"; then \
17                 echo "Updating Gtk icon cache."; \
18                 $(gtk_update_icon_cache); \
19         else \
20                 echo "*** Icon cache not updated.  After (un)install, run this:"; \
21                 echo "***   $(gtk_update_icon_cache)"; \
22         fi
23
24 autostartdir = $(datadir)/gnome/autostart
25 autostart_in_files = empathy.desktop.in
26 autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
27 @INTLTOOL_DESKTOP_RULE@
28
29 schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
30 schemas_in_files = empathy.schemas.in
31 schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
32 @INTLTOOL_SCHEMAS_RULE@
33
34 if GCONF_SCHEMAS_INSTALL
35 install-data-local:
36         if test -z "$(DESTDIR)" ; then \
37           for p in $(schemas_DATA) ; do \
38             GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
39           done \
40         fi
41 else
42 install-data-local:
43 endif
44
45 EXTRA_DIST =                            \
46         $(image_DATA)                   \
47         $(profile_DATA)                 \
48         $(autostart_in_files)           \
49         $(autostart_DATA)               \
50         $(schemas_in_files)             \
51         $(schemas_DATA)
52
53 DISTCLEANFILES =                        \
54         $(autostart_DATA)               \
55         $(schemas_DATA)
56