]> git.0d.be Git - empathy.git/blob - data/Makefile.am
Don't warning if we try to load a NULL icon.
[empathy.git] / data / Makefile.am
1 SUBDIRS = 16x16 22x22 24x24 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         sofiasip.profile                \
11         aim.profile
12
13 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
14
15 install-data-hook: update-icon-cache
16 uninstall-hook: update-icon-cache
17 update-icon-cache:
18         @-if test -z "$(DESTDIR)"; then \
19                 echo "Updating Gtk icon cache."; \
20                 $(gtk_update_icon_cache); \
21         else \
22                 echo "*** Icon cache not updated.  After (un)install, run this:"; \
23                 echo "***   $(gtk_update_icon_cache)"; \
24         fi
25
26 autostartdir = $(sysconfdir)/xdg/autostart
27 autostart_in_files = empathy.desktop.in
28 autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
29 @INTLTOOL_DESKTOP_RULE@
30
31 schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
32 schemas_in_files = empathy.schemas.in
33 schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
34 @INTLTOOL_SCHEMAS_RULE@
35
36 if GCONF_SCHEMAS_INSTALL
37 install-data-local:
38         if test -z "$(DESTDIR)" ; then \
39           for p in $(schemas_DATA) ; do \
40             GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
41           done \
42         fi
43 else
44 install-data-local:
45 endif
46
47 EXTRA_DIST =                            \
48         $(image_DATA)                   \
49         $(profile_DATA)                 \
50         $(autostart_in_files)           \
51         $(autostart_DATA)               \
52         $(schemas_in_files)             \
53         $(schemas_DATA)
54
55 DISTCLEANFILES =                        \
56         $(autostart_DATA)               \
57         $(schemas_DATA)
58