diff --git a/Makefile b/Makefile index d568b9dc0..c9d92a35c 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ 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-data := $(wildcard dist/build/mv3-data/*) all: chromium firefox npm @@ -61,20 +62,20 @@ dig: dist/build/uBlock0.dig dig-snfe: dig cd dist/build/uBlock0.dig && npm run snfe $(run_options) -mv3-assets: +dist/build/mv3-data: mkdir -p dist/build/mv3-data -dist/build/uBOLite.chromium: tools/make-mv3.sh $(sources) $(platform) mv3-assets +dist/build/uBOLite.chromium: tools/make-mv3.sh $(sources) $(platform) $(mv3-data) dist/build/mv3-data 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-data) dist/build/mv3-data 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-data) dist/build/mv3-data tools/make-mv3.sh edge mv3-edge: dist/build/uBOLite.edge