From d55b13d484486e7d1c7823254dbdec678626970a Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Sun, 26 Jul 2020 03:04:40 +0200 Subject: [PATCH] tidy up makefile more --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index eec5d72..4083316 100644 --- a/Makefile +++ b/Makefile @@ -38,14 +38,10 @@ $(BUILDDIR)/index.html: $(DATADIR)/index.yaml $(MAKEPAGES) $(BUILDDIR)/%: % - echo "[copy] "$@ - mkdir -p $(dir $@) - cp $< $@ + $(call copy) $(BUILDDIR)/%: $(TMPDIR)/% - echo "[copy] "$@ - mkdir -p $(dir $@) - cp $< $@ + $(call copy) $(TMPDIR)/%_small.png: $(DATADIR)/%.png