summaryrefslogtreecommitdiff
path: root/Makefile
blob: 426800d833cdd2a610247e13bb3516be0a2762b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SVG2PNG: Each is buggy in their own way
# ImageMagick: doesn't support transparency
#SVG2PNG = convert $1 -format png $2
# librsvg: doesn't support <style> element
#SVG2PNG = rsvg-convert $1 -o $2
# Inkscape: doesn't do text hinting (feature?), messes up gradients
SVG2PNG = inkscape $1 --export-png $2

all: \
	logotype-color-darkbg.png \
	logotype-color-lightbg.png \
	logotype-grayscale.png \
	logotype-mono-black.png \
	logotype-mono-white.png \

clean:
	rm -f *.png

%.png: %.svg
	$(call SVG2PNG,$<,$@)