From 40169332da43e7c0a27e63d35dc78b522e170e20 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 23 Sep 2025 18:04:51 +0200 Subject: Automatically build pngs --- mopew/mandala/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mopew/mandala/Makefile diff --git a/mopew/mandala/Makefile b/mopew/mandala/Makefile new file mode 100644 index 0000000..9628dcf --- /dev/null +++ b/mopew/mandala/Makefile @@ -0,0 +1,11 @@ +BUILDDIR = build +SRCDIR = cards + +PNG_TARGETS = $(patsubst $(SRCDIR)/%.svg,$(BUILDDIR)/%.png,$(wildcard $(SRCDIR)/*.svg)) + +.PHONY: all clean +all: $(PNG_TARGETS) + +$(BUILDDIR)/%.png: $(SRCDIR)/%.svg + mkdir -p ${BUILDDIR} + inkscape $< --export-area-drawing -o $@ --export-dpi=600 -y 0 -- cgit v1.2.3