blob: 2c01cf2399b579a0be17c60bb489e049b052e94f (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
NULL=
size = scalable
context = emblems
iconsdir = $(themedir)/$(size)/$(context)
svgdir = $(iconsdir)
icon_in_files = \
emblem-desktop.icon.in \
emblem-documents.icon.in \
emblem-downloads.icon.in \
emblem-favorite.icon.in \
emblem-generic.icon.in \
emblem-important.icon.in \
emblem-mail.icon.in \
emblem-new.icon.in \
emblem-package.icon.in \
emblem-photos.icon.in \
emblem-readonly.icon.in \
emblem-unreadable.icon.in \
emblem-urgent.icon.in \
emblem-web.icon.in \
$(NULL)
icons_DATA = \
$(icon_in_files:.icon.in=.icon)
svg_DATA = \
emblem-default.svg \
emblem-desktop.svg \
emblem-documents.svg \
emblem-downloads.svg \
emblem-favorite.svg \
emblem-generic.svg \
emblem-important.svg \
emblem-mail.svg \
emblem-new.svg \
emblem-package.svg \
emblem-photos.svg \
emblem-readonly.svg \
emblem-shared.svg \
emblem-symbolic-link.svg \
emblem-system.svg \
emblem-unreadable.svg \
emblem-urgent.svg \
emblem-web.svg \
$(NULL)
%.icon: %.icon.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
EXTRA_DIST = $(icon_in_files) $(svg_DATA)
CLEANFILES = $(icons_DATA)
install-data-local: install-iconsDATA install-svgDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
check:
if test -r CVS/Entries; then \
for icon in *.svg; 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 *.svg; do \
if ! grep $$icon Makefile > /dev/null; then \
echo "Missing $$icon in Makefile.am"; \
exit 1; \
fi; \
done; \
fi
|