Merge pull request #4071 from dkondor/xdg_activation
[geany-mirror.git] / icons / Makefile.am
blob4451397c6c3774291ddc6b34cfea5281860d923e
1 SUBDIRS =  16x16 24x24 32x32 48x48 scalable tango
3 # only install index.theme on Windows
4 if MINGW
5 iconsdir = $(datadir)/icons/hicolor
6 dist_icons_DATA = index.theme
7 endif
9 dist_noinst_DATA = geany.ico
11 gtk_update_icon_cache = gtk-update-icon-cache -f -t
13 install-data-hook:
14         @-if test -z "$(DESTDIR)"; then                                 \
15                 echo "Updating Gtk icon cache.";                        \
16                 $(gtk_update_icon_cache) "$(datadir)/icons/hicolor";    \
17                 $(gtk_update_icon_cache) "$(datadir)/icons/Tango"; \
18         else                                                            \
19                 echo "*** Icon cache not updated. Remember to run:";    \
20                 echo "***";                                             \
21                 echo "***   $(gtk_update_icon_cache) '$(datadir)/icons/hicolor'";\
22                 echo "***   $(gtk_update_icon_cache) '$(datadir)/icons/Tango'";\
23                 echo "***";                                             \
24         fi
26 uninstall-local:
27         rm -f $(DESTDIR)$(datadir)/icons/hicolor/icon-theme.cache
28         rm -f $(DESTDIR)$(datadir)/icons/Tango/icon-theme.cache