File: rules

package info (click to toggle)
adblock-plus 2.6.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 4,976 kB
  • sloc: python: 2,518; perl: 475; xml: 92; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 671 bytes parent folder | download
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

override_dh_auto_build:
	python build.py build --release

override_dh_auto_install:
	install-xpi adblockplus*.xpi

override_dh_installchangelogs:
	dh_installchangelogs $(CURDIR)/debian/adblock-plus.upstream-changelog

get-orig-source:
	VERSION=$(shell uscan --force --dehs | \
		grep upstream-version | \
		sed 's,<upstream-version>\(.*\)</upstream-version>,\1+dfsg,') ; \
		wget -O ../adblock-plus_$$VERSION.orig-buildtools.tar.gz \
		https://github.com/adblockplus/buildtools/archive/master.tar.gz ; \
		wget -O ../adblock-plus_$$VERSION.orig-jshydra.tar.gz \
		https://github.com/adblockplus/jshydra/archive/master.tar.gz