summaryrefslogtreecommitdiff
path: root/ui/icons/Makefile.am
blob: c419d89a1a85d24ccae803e3cce818aa4dc03c77 (plain)
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

SUBDIRS += \
	ui/icons/16x16 \
	ui/icons/22x22 \
	ui/icons/24x24 \
	ui/icons/32x32 \
	ui/icons/48x48 \
	ui/icons/256x256

EXTRA_DIST += \
	ui/icons/src \
	ui/icons/render-icons.py

if WITH_UPDATE_ICON_CACHE

gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor

install-data-hook:
	@-if test -z "$(DESTDIR)"; then \
		echo "Updating Gtk icon cache."; \
		$(gtk_update_icon_cache); \
	else \
		echo "*** Icon cache not updated.  After install, run this:"; \
		echo "***   $(gtk_update_icon_cache)"; \
	fi
endif

render:
	cd $(srcdir) && python ui/icons/render-icons.py