From 26d1283583b2c3462e2ffe0d6a6e832670ef2f11 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 8 Mar 2025 13:39:53 -0500 Subject: [PATCH] Fix mv3 build commands --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 773c93f5c..84b389c0c 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,6 @@ run_options := $(filter-out $@,$(MAKECMDGOALS)) sources := $(wildcard assets/* assets/*/* dist/version src/* src/*/* src/*/*/* src/*/*/*/*) platform := $(wildcard platform/* platform/*/* platform/*/*/* platform/*/*/*/* platform/*/*/*/*/*) assets := dist/build/uAssets -mv3-assets := dist/build/mv3-data/* all: chromium firefox npm @@ -62,17 +61,20 @@ dig: dist/build/uBlock0.dig dig-snfe: dig cd dist/build/uBlock0.dig && npm run snfe $(run_options) -dist/build/uBOLite.chromium: tools/make-mv3.sh $(sources) $(platform) $(mv3-assets) +mv3-assets: + mkdir dist/build/mv3-data + +dist/build/uBOLite.chromium: tools/make-mv3.sh $(sources) $(platform) mv3-assets tools/make-mv3.sh chromium mv3-chromium: dist/build/uBOLite.chromium -dist/build/uBOLite.firefox: tools/make-mv3.sh $(sources) $(platform) $(mv3-assets) +dist/build/uBOLite.firefox: tools/make-mv3.sh $(sources) $(platform) mv3-assets tools/make-mv3.sh firefox mv3-firefox: dist/build/uBOLite.firefox -dist/build/uBOLite.edge: tools/make-mv3.sh tools/make-edge.mjs $(sources) $(platform) $(mv3-assets) +dist/build/uBOLite.edge: tools/make-mv3.sh tools/make-edge.mjs $(sources) $(platform) mv3-assets tools/make-mv3.sh edge mv3-edge: dist/build/uBOLite.edge