File: rules

package info (click to toggle)
libphash 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,984 kB
  • ctags: 389
  • sloc: sh: 10,093; cpp: 5,063; java: 140; makefile: 98; ansic: 44
file content (50 lines) | stat: -rwxr-xr-x 681 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
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/make -f

#export DH_VERBOSE=1

clean: clean-patched unpatch

clean-patched:
	dh_clean
	rm -f build-stamp

patch: patch-stamp

patch-stamp:
	dpatch apply-all
	dpatch cat-all >patch-stamp

unpatch:
	dpatch deapply-all
	rm -rf patch-stamp debian/patched

build: build-stamp
build-stamp: patch
	dh_testdir
	dh_auto_configure
	touch $@

install: build
	dh_testdir
	dh_testroot
	dh_prep
	dh $@

binary-arch: install
	dh_installdocs TODO
	dh_installexamples
	dh_lintian
	dh_strip
	dh_fixperms
	dh_makeshlibs -V
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-indep:

binary: binary-arch

.PHONY: clean build install binary binary-arch binary-indep