simplify file lists

This commit is contained in:
rhiannon morris 2024-10-21 14:36:40 +02:00
parent 645424a7d8
commit 8e5d30d372

View file

@ -16,18 +16,11 @@ MAKEPAGES := $(TMPDIR)/make-pages
YAMLS != find -L $(DATADIR) -name $(INFONAME) YAMLS != find -L $(DATADIR) -name $(INFONAME)
TSCRIPTS != find script -name '*.ts' TSCRIPTS != find script -name '*.ts'
STYLES != find style -name '*.css' STYLES != find style -type f
STYLESVGS != find style -name '*.svg' FONTS != find fonts -type f
STYLEPNGS != find style -name '*.png'
STATIC = $(STYLES) $(FONTS)
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)
BSTATIC = $(patsubst %,$(BUILDDIR)/%,$(STATIC)) BSTATIC = $(patsubst %,$(BUILDDIR)/%,$(STATIC))
BSCRIPTS = $(patsubst %.ts,$(BUILDDIR)/%.js,$(TSCRIPTS)) BSCRIPTS = $(patsubst %.ts,$(BUILDDIR)/%.js,$(TSCRIPTS))