From 8e5d30d372bc226187a37566731e3344e3a15e5f Mon Sep 17 00:00:00 2001 From: rhiannon morris Date: Mon, 21 Oct 2024 14:36:40 +0200 Subject: [PATCH] simplify file lists --- Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index b27b287..0572da0 100644 --- a/Makefile +++ b/Makefile @@ -16,18 +16,11 @@ MAKEPAGES := $(TMPDIR)/make-pages YAMLS != find -L $(DATADIR) -name $(INFONAME) -TSCRIPTS != find script -name '*.ts' -STYLES != find style -name '*.css' -STYLESVGS != find style -name '*.svg' -STYLEPNGS != find style -name '*.png' +TSCRIPTS != find script -name '*.ts' +STYLES != find style -type f +FONTS != find fonts -type f - -FONTS != find fonts \ - -iname '*.eot' -or -iname '*.svg' -or \ - -iname '*.ttf' -or -iname '*.woff' -or \ - -iname '*.woff2' -or -iname '*.css' - -STATIC = $(STYLES) $(STYLEPNGS) $(STYLESVGS) $(FONTS) +STATIC = $(STYLES) $(FONTS) BSTATIC = $(patsubst %,$(BUILDDIR)/%,$(STATIC)) BSCRIPTS = $(patsubst %.ts,$(BUILDDIR)/%.js,$(TSCRIPTS))