summaryrefslogtreecommitdiff
path: root/mate/8x8/emblems/Makefile.am
blob: 8e2709734892c69ca0766fa7500625d3b2e5d5b3 (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 --convert-dpi-method=scale-viewbox -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 --convert-dpi-method=scale-viewbox -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 --convert-dpi-method=scale-viewbox -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 --convert-dpi-method=scale-viewbox -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 --convert-dpi-method=scale-viewbox -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 --convert-dpi-method=scale-viewbox -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)