File: rules

package info (click to toggle)
openinbrowser 1.11-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 184 kB
  • sloc: makefile: 48; sh: 18
file content (40 lines) | stat: -rwxr-xr-x 741 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f

.PHONY: build build-arch build-indep
build: build-arch build-indep
build-arch: ;
build-indep:
	dh_testdir
	rm -f openinbrowser.kpf Makefile
	xpi-pack . debian/xul-ext-openinbrowser.xpi

.PHONY: binary binary-arch binary-indep
binary: binary-arch binary-indep
binary-arch: ;
binary-indep: build-indep
	dh_testdir
	dh_testroot
	dh_prep
	install-xpi debian/xul-ext-openinbrowser.xpi
	dh_xul-ext
	dh_installdocs
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

.PHONY: clean
clean:
	dh_testdir
	dh_clean

here = $(dir $(firstword $(MAKEFILE_LIST)))/..

.PHONY: get-orig-source
get-orig-source:
	cd $(here) && sh debian/get-orig-source.sh $(CURDIR)

# vim:ts=4 sw=4 noet