summaryrefslogtreecommitdiff
path: root/app-icons/Makefile.am
blob: 703705c04f47b84f0930a11d11174cd10025e811 (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
30
31
32
33
34
35
36
37
38
39
40
41
iconthemedir = $(datadir)/icons/hicolor

appicon16dir = $(iconthemedir)/16x16/apps
appicon22dir = $(iconthemedir)/22x22/apps
appicon24dir = $(iconthemedir)/24x24/apps
appicon32dir = $(iconthemedir)/32x32/apps
appicon48dir = $(iconthemedir)/48x48/apps
appicon256dir = $(iconthemedir)/256x256/apps
appiconscalabledir = $(iconthemedir)/scalable/apps
appiconsymbolicdir = $(iconthemedir)/symbolic/apps

dist_appicon16_DATA = \
					  	16x16/apps/shotwell.png
dist_appicon22_DATA = \
					  	22x22/apps/shotwell.png
dist_appicon24_DATA = \
					  	24x24/apps/shotwell.png
dist_appicon32_DATA = \
					  	32x32/apps/shotwell.png
dist_appicon48_DATA = \
					  	48x48/apps/shotwell.png
dist_appicon256_DATA = \
					   	256x256/apps/shotwell.png
dist_appiconsymbolic_DATA = \
								symbolic/apps/shotwell-symbolic.svg

UPDATE_ICON_CACHE = gtk-update-icon-cache --ignore-theme-index --force

install-data-hook: install-update-icon-cache
uninstall-hook: uninstall-update-icon-cache

install-update-icon-cache:
		$(AM_V_at)$(POST_INSTALL)
			test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"

uninstall-update-icon-cache:
		$(AM_V_at)$(POST_UNINSTALL)
			test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"


-include $(top_srcdir)/git.mk