1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Add build script as a dependency

Related discussion:
- https://github.com/gorhill/uBlock/pull/3789#issuecomment-891902206
This commit is contained in:
Raymond Hill 2021-08-03 11:27:55 -04:00
parent 6ef74fc21b
commit 5237558f9b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -9,19 +9,19 @@ assets := $(wildcard submodules/uAssets/* \
all: chromium firefox nodejs
dist/build/uBlock0.chromium: $(sources) $(platform) $(assets)
dist/build/uBlock0.chromium: tools/make-chromium.sh $(sources) $(platform) $(assets)
tools/make-chromium.sh
# Build the extension for Chromium.
chromium: dist/build/uBlock0.chromium
dist/build/uBlock0.firefox: $(sources) $(platform) $(assets)
dist/build/uBlock0.firefox: tools/make-firefox.sh $(sources) $(platform) $(assets)
tools/make-firefox.sh all
# Build the extension for Firefox.
firefox: dist/build/uBlock0.firefox
dist/build/uBlock0.nodejs: $(sources) $(platform) $(assets)
dist/build/uBlock0.nodejs: tools/make-nodejs.sh $(sources) $(platform) $(assets)
tools/make-nodejs.sh
# Build the Node.js package.