aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 8d7486c3e98cdd975f4d5d0c912763cecfb30023 (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