aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: de145d6c8e0f9f251a28dc4d5f210c1a2495acb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

%:
	dh $@ --with xul-ext --buildsystem=xul_ext


override_dh_auto_build:
	./tools/make-firefox.sh
	xpi-pack dist/build/uBlock0.firefox xul-ext-ublock.xpi
	
	./tools/make-chromium.sh
	./debian/crxmake.sh ./dist/build/uBlock0.chromium ./debian/uBlock0.pem


override_dh_auto_install:
	install-xpi xul-ext-ublock.xpi -x LICENSE.txt


override_dh_auto_clean:
	./tools/make-clean.sh
	rm -f *.xpi
	rm -f *.crx