summaryrefslogtreecommitdiff
path: root/mate/8x8/emblems/Makefile.am
blob: ec60962ed1d1bb44822eab6b52e9f891bc3169a4 (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
NULL =

png_icons = \
	emblem-default.png \
	emblem-new.png \
	emblem-readonly.png \
	emblem-symbolic-link.png \
	emblem-synchronizing.png \
	emblem-unreadable.png \
	$(NULL)

emblem-default.png: ../../../src/emblem-default.svg
	@echo "  "$@
	@inkscape -z $^ --export-area=303:65:319:81 -w=8 -h=8 -e=$@ 1> /dev/null
	@mogrify -quiet -strip $@

emblem-new.png: ../../../src/emblem-new.svg
	@echo "  "$@
	@inkscape -z $^ --export-area=303:143:335:175 -w=8 -h=8 -e=$@ 1> /dev/null
	@mogrify -quiet -strip $@

emblem-readonly.png: ../../../src/emblems-fs.svg
	@echo "  "$@
	@inkscape -z $^ --export-area=1103:65:1119:81 -w=8 -h=8 -e=$@ 1> /dev/null
	@mogrify -quiet -strip $@

emblem-symbolic-link.png: ../../../src/emblems-fs.svg
	@echo "  "$@
	@inkscape -z $^ --export-area=303:65:319:81 -w=8 -h=8 -e=$@ 1> /dev/null
	@mogrify -quiet -strip $@

emblem-synchronizing.png: ../../../src/emblem-synchronizing.svg
	@echo "  "$@
	@inkscape -z $^ --export-area=303:65:319:81 -w=8 -h=8 -e=$@ 1> /dev/null
	@mogrify -quiet -strip $@

emblem-unreadable.png: ../../../src/emblems-fs.svg
	@echo "  "$@
	@inkscape -z $^ --export-area=703:65:719:81 -w=8 -h=8 -e=$@ 1> /dev/null
	@mogrify -quiet -strip $@

.PHONY: build-png-icons-local clean-png-icons-local
build-png-icons-local: $(png_icons)

clean-png-icons-local:
	@echo "  Cleaning icons..."
	@rm -f $(png_icons)