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 appdata_files = $(appdata_in_files:.xml.in=.xml) dist_appdata_DATA = $(appdata_files) @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 = \ $(appdata_files) \ $(gsettings_SCHEMAS) -include $(top_srcdir)/git.mk