From d7739063430d3c92b8684086705dd8e8c1b84f17 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 17 Sep 2024 01:12:22 +0200 Subject: [PATCH] build(Makefile): revise assets targets --- Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 37cf6fbba..7145adc25 100644 --- a/Makefile +++ b/Makefile @@ -105,21 +105,15 @@ node_modules: package.json package-lock.json package-lock.json: package.json npm install --cache .npm --prefer-offline -# FIXME: refraining from targets below assets/ (e.g. assets/icons, assets/favicon) to avoid / in target name for now (and maybe to avoid target name pollution) -assets: node_modules -# favicons +assets: assets/favicons assets/icons +assets/favicons: ./utils/faviconize.pl assets/favicon.svg long assets/favicons -# site icons +assets/icons: node_modules ./utils/renamer.pl node_modules/@fortawesome/fontawesome-free/svgs/solid utils/rename-fa.json assets/icons/fradrive ./utils/renamer.pl node_modules/@fortawesome/fontawesome-free/svgs/regular utils/rename-fa.json assets/icons/fradrive -assets/.assets: -# no-op target -well-known: node_modules assets well-known/.well-known +well-known: node_modules assets npx webpack --progress - touch well-known/.well-known -well-known/.well-known: -# no-op target ##### FRONTEND TARGETS ##### ############################