build(Makefile): fix frontend-compile subcalls

This commit is contained in:
Sarah Vaupel 2024-09-11 01:10:59 +02:00
parent d77f372158
commit 2aae4cb045

View File

@ -65,7 +65,7 @@ test: test-frontend test-backend i18n-check
.PHONY: %-frontend
%-frontend: FRADRIVE_SERVICE=frontend
%-frontend: --image-build --containerized-%-frontend;
%-frontend: --image-build --containerized---%-frontend;
.PHONY: --%-frontend
#--%-frontend: node_modules well-known;
@ -73,7 +73,7 @@ test: test-frontend test-backend i18n-check
--%-frontend: --containerized---frontend-dependencies-frontend;
.PHONY: --compile-frontend
--compile-frontend:
--compile-frontend: --frontend-dependencies
npx -- webpack --progress $(WATCH)
.PHONY: --serve-frontend
@ -123,7 +123,7 @@ test: test-frontend test-backend i18n-check
# touch well-known/.well-known
.PHONY: --frontend-dependencies
--frontend-dependencies: node_modules package.json package-lock.json assets
--frontend-dependencies: node_modules package.json package-lock.json assets;
node_modules: package.json package-lock.json
npm ci --cache .npm --prefer-offline
@ -136,7 +136,6 @@ well-known: node_modules assets well-known/.well-known
npx webpack --progress
touch well-known/.well-known
well-known/.well-known:
# no-op target