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