From 6d3c05e25f2b5f231abf5bb4af4bc0b06455b0e4 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 11 Feb 2016 18:30:19 +0100 Subject: [PATCH] Add make png. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 5d9d733..f54d09b 100644 --- a/Makefile +++ b/Makefile @@ -27,3 +27,10 @@ install: cp laby $(PREFIX)/bin/laby mkdir -p $(PREFIX)/share/laby tar -C data -cf - . | tar -C $(PREFIX)/share/laby -xf- + +SVG:=$(wildcard data/tiles/*.svg) +PNG:=$(SVG:%.svg=%.png) +png: $(PNG) + +%.png: %.svg + convert $^ $@ -- 2.1.4