aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile.am
blob: db1eea628a47a72b0a41fd19ebd0f4936ddf0d79 (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
81
SUBDIRS = icons

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

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@
appdatadir = $(datadir)/appdata
appdata_in_files = evolution.appdata.xml.in
dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)

@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_in_files)         \
    $(autostart_in_files)           \
    $(desktop_in_files)         \
    $(convert_DATA)             \
    $(gsettings_SCHEMAS:.xml=.xml.in)

DISTCLEANFILES =        \
    $(app_data_in_files)    \
    $(gsettings_SCHEMAS)

-include $(top_srcdir)/git.mk