summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--official-2013/optimized-text/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/official-2013/optimized-text/Makefile b/official-2013/optimized-text/Makefile
index b7c2def..fb4fc13 100644
--- a/official-2013/optimized-text/Makefile
+++ b/official-2013/optimized-text/Makefile
@@ -1,18 +1,19 @@
-# SVG2PNG: Each is buggy in their own way
-# ImageMagick: doesn't support transparency
-#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-bacground $5) $2
-# librsvg: doesn't support <style> element
+## SVG2PNG: Each is buggy in their own way
+## Usage: $(call SVG2PNG,infile,outfile[,width,height,background-color])
+##
+## ImageMagick: doesn't support transparency
+#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-background $5) $2
+## librsvg: doesn't support <style> element
#SVG2PNG = rsvg-convert $1 -o $2 $(if $3,-w $3) $(if $4,-h $4) $(if $5,--background-color=$5)
-# Inkscape: messes up gradients
+## Inkscape: messes up gradients
SVG2PNG = inkscape $1 --export-png $2 $(if $3,-w $3) $(if $4,-h $4) $(if $5,-b '$5')
-# PNG2ICO
-# png2ico: doesn't read PNG transparency properly
+## PNG2ICO
+## png2ico: doesn't read PNG transparency properly
#PNG2ICO = png2ico $2 $1
-# icotool: has perl dependencies
+## icotool: has perl dependencies
PNG2ICO = icotool -c $1 -o $2
-# pngcrush is available from [pcr]
#PNGCRUSH = cp $1 $2
PNGCRUSH = pngcrush $1 $2