summaryrefslogtreecommitdiff
path: root/official-2013/optimized-path/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'official-2013/optimized-path/Makefile')
-rw-r--r--official-2013/optimized-path/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/official-2013/optimized-path/Makefile b/official-2013/optimized-path/Makefile
new file mode 100644
index 0000000..426800d
--- /dev/null
+++ b/official-2013/optimized-path/Makefile
@@ -0,0 +1,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,$<,$@)