summaryrefslogtreecommitdiff
path: root/icon-themes/ContrastHighLargePrint/48x48/devices/Makefile.am
blob: 7ef451f1afbba454b21c9cced024d795c4cb500f (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
NULL=

themedir = $(datadir)/icons/ContrastHighLargePrint
size = 48x48
context = devices

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

icon_DATA=	\
		computer.png \
		drive-harddisk.png \
		drive-optical.png \
		drive-removable-media.png \
		mate-dev-printer-network.png \
		mate-dev-printer-new.png \
		input-keyboard.png \
		input-mouse.png \
		media-floppy.png \
		media-optical.png \
		pda.png \
		printer.png \
		$(NULL)

EXTRA_DIST=	$(icon_DATA) \
		symlinks.dat

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

install: install-am
	$(SHELL) $(top_srcdir)/common/mkiconlinks.sh $(srcdir)/symlinks.dat $(DESTDIR)$(icondir)

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

uninstall-am: uninstall-iconDATA uninstall-symlinks