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