From 9eddfe84c5a565a9f301977ea1f1f14a6fcd7f05 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Sun, 19 Jul 2020 12:29:13 +0200 Subject: [PATCH] remove inkscape stuff since im just using the svgs directly --- Makefile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 5c752ea..cc44c2b 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,7 @@ SCRIPTS := $(wildcard script/*.js) STYLES := $(wildcard style/*.css) STYLESVGS = $(wildcard style/*.svg) -STYLEPNGS = $(wildcard style/*.png) \ - $(STYLESVGS:.svg=.png) $(STYLESVGS:.svg=_small.png) +STYLEPNGS = $(wildcard style/*.png) FONTS := $(shell find fonts \ -iname '*.eot' -or -iname '*.svg' -or \ @@ -37,19 +36,6 @@ $(BUILDDIR)/index.html: $(DATADIR)/index.yaml $(MAKEPAGES) $(MAKEPAGES) $(MPFLAGS) index $< -o $@ -define inkscape = -echo "[svg] "$@ -mkdir -p $(dir $@) -inkscape $< -e $@ -w $(1) >/dev/null -endef - -$(TMPDIR)/%.png: %.svg - $(call inkscape,32) - -$(TMPDIR)/%_small.png: %.svg - $(call inkscape,16) - - $(BUILDDIR)/%: % echo "[copy] "$@ mkdir -p $(dir $@)