summaryrefslogtreecommitdiff
path: root/icon-themes/ContrastHigh-SVG/scalable/emblems/Makefile.am
blob: 3f37e1c725c743f56508f0d8e25a8cfb55a2dd19 (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
42
43
44
45
46
themedir =  $(datadir)/icons/ContrastHigh-SVG
size = scalable
context = emblems

icondir = $(themedir)/$(size)/$(context)

icon_DATA =				\
	emblem-default.svg \
	emblem-documents.svg \
	emblem-downloads.svg \
	emblem-favorite.svg \
	emblem-important.svg \
	emblem-mail.svg \
	emblem-photos.svg \
	emblem-readonly.svg \
	emblem-symbolic-link.svg \
	emblem-system.svg \
	emblem-unreadable.svg

placeholder_FILES = \
	emblem-shared.svg \
	emblem-synchronized.svg

if PLACEHOLDERS
icon_DATA += $(placeholder_FILES)
endif

EXTRA_DIST =				\
	$(icon_DATA) \
	$(placeholder_FILES)

if LEGACY_ICON_MAPPING
install-data-local: install-iconDATA
	(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
endif


uninstall-symlinks:
	list=`ls $(DESTDIR)$(themedir)/$(size)/$(context)`; \
	for p in $$list; do \
		if test -h $(DESTDIR)$(themedir)/$(size)/$(context)/$$p; then \
			rm -f $(DESTDIR)$(themedir)/$(size)/$(context)/$$p; \
		fi; \
	done

uninstall-am: uninstall-iconDATA uninstall-symlinks