1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
%:
dh $@
override_dh_auto_build:
find . -name "*.wasm" -delete
wat2wasm src/lib/lz4/lz4-block-codec.wat -o src/lib/lz4/lz4-block-codec.wasm
wat2wasm src/js/wasm/hntrie.wat -o src/js/wasm/hntrie.wasm
wat2wasm src/js/wasm/biditrie.wat -o src/js/wasm/biditrie.wasm
wat2wasm src/lib/publicsuffixlist/wasm/publicsuffixlist.wat -o src/lib/publicsuffixlist/wasm/publicsuffixlist.wasm
wasm-opt src/lib/lz4/lz4-block-codec.wasm -O4 -o src/lib/lz4/lz4-block-codec.wasm
./tools/make-firefox.sh
./tools/make-chromium.sh
override_dh_install:
dh_install -p ublock-origin-doc
dh_install -p webext-ublock-origin-firefox -X LICENSE.txt
dh_install -p webext-ublock-origin-chromium -X LICENSE.txt
override_dh_auto_test:
override_dh_auto_clean:
./tools/make-clean.sh
override_dh_installchangelogs:
dh_installchangelogs debian/upstream/changelog.html debian/upstream/changelog
.PHONY: get-orig-changelog
get-orig-changelog:
amo-changelog -p rst ublock-origin
|