aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
blob: 62dca8ba198a6b9ed68fe2daedfbd73be5486203 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
SUBDIRS = icons

desktopdir = $(datadir)/applications
desktop_in_files = evolution.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

appdatadir = $(datadir)/appdata
appdata_DATA = evolution.appdata.xml

autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = evolution-alarm-notify.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)

@INTLTOOL_DESKTOP_RULE@

gsettings_SCHEMAS =                         \
    org.gnome.evolution.gschema.xml                 \
    org.gnome.evolution.addressbook.gschema.xml         \
    org.gnome.evolution.calendar.gschema.xml            \
    org.gnome.evolution.importer.gschema.xml            \
    org.gnome.evolution.mail.gschema.xml                \
    org.gnome.evolution.shell.gschema.xml               \
    org.gnome.evolution.bogofilter.gschema.xml          \
    org.gnome.evolution.spamassassin.gschema.xml            \
    org.gnome.evolution.plugin.attachment-reminder.gschema.xml  \
    org.gnome.evolution.plugin.autocontacts.gschema.xml     \
    org.gnome.evolution.plugin.email-custom-header.gschema.xml  \
    org.gnome.evolution.plugin.external-editor.gschema.xml      \
    org.gnome.evolution.plugin.face-picture.gschema.xml     \
    org.gnome.evolution.plugin.itip.gschema.xml         \
    org.gnome.evolution.plugin.mail-notification.gschema.xml    \
    org.gnome.evolution.plugin.prefer-plain.gschema.xml     \
    org.gnome.evolution.plugin.publish-calendar.gschema.xml     \
    org.gnome.evolution.plugin.templates.gschema.xml

@INTLTOOL_XML_NOMERGE_RULE@

@GSETTINGS_RULES@

convertdir = $(datadir)/GConf/gsettings
convert_DATA = evolution.convert

themedir = $(privdatadir)/theme
dist_theme_DATA =   \
    webview.css \
    webview-print.css

dist_noinst_MANS = evolution.1

gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

# Keep the icon cache updating here to ensure the image files
# under the 'icons' SUBDIR are installed or uninstalled first.
update-icon-cache:
    @-if test -z "$(DESTDIR)"; then \
        echo "Updating Gtk icon cache."; \
        $(gtk_update_icon_cache) \
    else \
        echo "*** Icon cache not updated.  After (un)install, run this:"; \
        echo "***   $(gtk_update_icon_cache)"; \
    fi

install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache

CLEANFILES =                    \
    $(autostart_DATA)           \
    $(desktop_DATA)

EXTRA_DIST =                    \
    $(appdata_DATA)             \
    $(autostart_in_files)           \
    $(desktop_in_files)         \
    $(convert_DATA)             \
    $(gsettings_SCHEMAS:.xml=.xml.in)

DISTCLEANFILES =        \
    $(gsettings_SCHEMAS)

-include $(top_srcdir)/git.mk