2
themedir = $(datadir)/icons/hicolor
6
icon_in_files = stopwatch.svg
7
icon_cache = $(icon_in_files:.svg=.rendercache)
9
iconame = $(icon_in_files:.svg=.png)
11
icon_srcdir = $(shell if test -d $(srcdir)/48x48; then echo "$(srcdir)"; else echo "$(builddir)"; fi)
14
for size in $(icondirs); do \
15
$(ICONRENDER) -s $$size $< > $@; \
20
dist-hook: $(icon_cache)
21
for size in $(icondirs); do \
22
cp -a $(icon_srcdir)/$$size $(distdir)/$$size; \
26
for size in $(icondirs); do \
27
$(mkdir_p) $(DESTDIR)$(themedir)/$$size/$(context); \
28
file="$(icon_srcdir)/$$size/$(context)/$(iconame)"; \
29
$(install_sh_DATA) $$file $(DESTDIR)$(themedir)/$$size/$(context)/$(iconame); \
33
for size in $(icondirs); do \
34
rm -f $(DESTDIR)$(themedir)/$$size/$(context)/$(iconame); \
41
MAINTAINERCLEANFILES = \
43
*/$(context)/$(iconame) \