aboutsummaryrefslogtreecommitdiffstats
path: root/webroot/.static/gfx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'webroot/.static/gfx/Makefile')
-rw-r--r--webroot/.static/gfx/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/webroot/.static/gfx/Makefile b/webroot/.static/gfx/Makefile
new file mode 100644
index 0000000..bef9f65
--- /dev/null
+++ b/webroot/.static/gfx/Makefile
@@ -0,0 +1,10 @@
+SVGFILES=$(wildcard *.svg)
+PNGFILES=$(subst svg,png,${SVGFILES})
+
+all: ${PNGFILES}
+
+clean:
+ rm -f ${PNGFILES}
+
+%.png: %.svg
+ inkscape -e $@ -w 16 -h 16 $<