summaryrefslogtreecommitdiff
path: root/22x22/emblems/Makefile.am
blob: 6439b79ccf8fe9aceec026447d3f7d098fd18de2 (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
47
48
49
50
51
NULL=

size = 22x22
context = emblems
iconsdir = $(themedir)/$(size)/$(context)

icons_DATA =				\
	emblem-default.png		\
	emblem-documents.png		\
	emblem-downloads.png		\
	emblem-favorite.png		\
	emblem-generic.png	\
	emblem-important.png		\
	emblem-mail.png	\
	emblem-new.png			\
	emblem-package.png		\
	emblem-photos.png		\
	emblem-readonly.png		\
	emblem-shared.png	\
	emblem-symbolic-link.png	\
	emblem-system.png		\
	emblem-unreadable.png		\
	emblem-urgent.png	\
	emblem-web.png
	$(NULL)

EXTRA_DIST = $(icons_DATA)

install-data-local: install-iconsDATA
	(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))

check:
	if test -r CVS/Entries; then \
		for icon in *.png; do \
			if grep $$icon CVS/Entries > /dev/null; then \
				if ! grep $$icon Makefile > /dev/null; then \
					echo "Missing $$icon in Makefile.am"; \
					exit 1; \
				fi; \
			fi; \
		done; \
	else \
		for icon in *.png; do \
			if ! grep $$icon Makefile > /dev/null; then \
				echo "Missing $$icon in Makefile.am"; \
				exit 1; \
			fi; \
		done; \
	fi

-include $(top_srcdir)/git.mk