build(Makefile): revise assets targets
This commit is contained in:
parent
fea82d2cc7
commit
d773906343
14
Makefile
14
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 #####
|
||||
############################
|
||||
|
||||
Reference in New Issue
Block a user