1 SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256
3 # keep in sync with gnumeric/src/libgnumeric.c:gnm_common_init
4 mimeicondir = $(datadir)/pixmaps
5 mimeicon_DATA = gnome-application-x-gnumeric.png \
6 gnome-application-x-xls.png \
7 gnome-application-x-applix-spreadsheet.png \
8 gnome-application-vnd.lotus-1-2-3.png \
9 gnome-application-x-generic-spreadsheet.png \
12 iconsdir = $(gnumeric_icondir)
13 icons_DATA = $(mimeicon_DATA)
16 # orient-horizontal.png \
17 # orient-vertical.png \
18 # gnumeric-about.png \
21 EXTRA_DIST = $(icons_DATA) $(mimeicon_DATA) fake-index-theme
23 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
25 fake_index_theme_target =
27 fake_index_theme_target += install-fake-index-theme
29 install-fake-index-theme: fake-index-theme
30 install -D -m 0644 fake-index-theme $(datadir)/icons/hicolor/index.theme
33 install-data-hook: update-icon-cache $(fake_index_theme_target)
34 uninstall-hook: update-icon-cache
36 @-if test -z "$(DESTDIR)"; then \
37 echo "Updating Gtk icon cache."; \
38 $(gtk_update_icon_cache); \
40 echo "*** Icon cache not updated. After (un)install, run this:"; \
41 echo "*** $(gtk_update_icon_cache)"; \