3
public_icons_themes = hicolor
6
hicolor/16x16/apps/gnome-aisleriot.png \
7
hicolor/22x22/apps/gnome-aisleriot.png \
8
hicolor/24x24/apps/gnome-aisleriot.png \
9
hicolor/26x26/apps/gnome-aisleriot.png \
10
hicolor/32x32/apps/gnome-aisleriot.png \
11
hicolor/34x34/apps/gnome-aisleriot.png \
12
hicolor/40x40/apps/gnome-aisleriot.png \
13
hicolor/48x48/apps/gnome-aisleriot.png \
14
hicolor/50x50/apps/gnome-aisleriot.png \
15
hicolor/64x50/apps/gnome-aisleriot.png \
16
hicolor/256x256/apps/gnome-aisleriot.png \
17
hicolor/16x16/apps/gnome-freecell.png \
18
hicolor/22x22/apps/gnome-freecell.png \
19
hicolor/24x24/apps/gnome-freecell.png \
20
hicolor/32x32/apps/gnome-freecell.png \
21
hicolor/48x48/apps/gnome-freecell.png \
25
for icon in $(dist_noinst_DATA); do \
26
THEME=`echo $$icon | cut -d/ -f1`; \
27
SIZE=`echo $$icon | cut -d/ -f2`; \
28
CONTEXT=`echo $$icon | cut -d/ -f3`; \
29
ICONFILE=`echo $$icon | cut -d/ -f4`; \
30
mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
31
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
34
uninstall-public-icons:
35
-for icon in $(dist_noinst_DATA); do \
36
THEME=`echo $$icon | cut -d/ -f1`; \
37
SIZE=`echo $$icon | cut -d/ -f2`; \
38
CONTEXT=`echo $$icon | cut -d/ -f3`; \
39
ICONFILE=`echo $$icon | cut -d/ -f4`; \
40
rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
43
install-data-local: install-public-icons
44
uninstall-local: uninstall-public-icons
46
install-data-hook: update-icon-cache
47
uninstall-hook: update-icon-cache
49
gtk_update_icon_cache = gtk-update-icon-cache -f -t
52
@-if test -z "$(DESTDIR)"; then \
53
echo "Updating Gtk icon cache."; \
54
for theme in $(public_icons_themes); do \
55
$(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
58
echo "*** Icon cache not updated. After (un)install, run this:"; \
59
for theme in $(public_icons_themes); do \
60
echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
64
-include $(top_srcdir)/git.mk