File: rules

package info (click to toggle)
dnstracer 1.9-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 648 kB
  • ctags: 168
  • sloc: sh: 3,018; ansic: 1,364; makefile: 93
file content (45 lines) | stat: -rwxr-xr-x 701 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
#!/usr/bin/make -f

include debian/debian-autotools.mk
include debian/debian-save-restore.mk

# In original sources
FILE_LIST_PRESERVE = \
 config.guess \
 config.sub \
 autom4te.cache/output.0 \
 autom4te.cache/requests \
 autom4te.cache/traces.0

override_dh_clean:
	$(file-state-save)
	dh_clean
	$(file-state-restore)

override_dh_auto_configure:
	$(config-prepare)
	dh_auto_configure
	$(config-restore)

binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installdocs README CONTACT
	dh_installchangelogs CHANGES
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

%:
	dh $@

binary: binary-arch

.PHONY: binary binary-arch

# end of file