summaryrefslogtreecommitdiff
path: root/pixmaps/Makefile.am
blob: 962cad3629950b9dfa03f6d7e948e12c7253da78 (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
## Process this file with automake to produce Makefile.in
icondir=$(datadir)/icons/hicolor/24x24/apps
icon_DATA = beryl-manager.png
icon22dir=$(datadir)/icons/hicolor/22x22/apps
icon22_DATA = 22x22/beryl-manager.png
svgicondir = $(datadir)/icons/hicolor/scalable/apps
svgicon_DATA = beryl-manager.svg
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
pixmapsdir=$(datadir)/pixmaps
pixmaps_DATA=\
            beryl-manager.png \
            wm-select.png \
            fall-back-wm-select.png \
            wd-select.png

install-data-hook:
	@-if test -z "$(datadir)/icons/hicolor"; 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

EXTRA_DIST=$(pixmaps_DATA) \
	$(icon_DATA) \
	$(icon22_DATA) \
	$(svgicon_DATA)