see if we can satisfy lintian
[debian/p10cfgd] / debian / rules
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 build: build-arch build-indep
7 build-arch: build-stamp
8 build-indep: build-stamp
9 build-stamp:
10         dh_testdir
11         touch build-stamp
12
13 clean:
14         dh_testdir
15         dh_testroot
16         rm -f build-stamp
17         dh_clean
18
19 binary-indep: build
20         dh_testdir
21         dh_testroot
22         dh_clean -k
23         dh_installdirs
24         install -g root -m 755 -o root p10cfgd debian/p10cfgd/usr/sbin/p10cfgd
25         install -g root -m 644 -o root p10cfgd \
26                 debian/p10cfgd/usr/share/man/man1/p10cfgd.1
27         install -o root -g root -m 0644 debian/p10cfgd.lintian \
28                 debian/p10cfgd/usr/share/lintian/overrides/p10cfgd
29         dh_installdocs
30         dh_installexamples examples/*
31         dh_installmenu
32         dh_installcron
33         dh_installchangelogs
34         dh_strip
35         dh_compress
36         dh_fixperms
37         dh_installdeb
38         dh_shlibdeps
39         dh_gencontrol
40         dh_md5sums
41         dh_builddeb
42
43
44 binary-arch: build
45
46 source diff:                                                                  
47         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
48
49 binary: binary-indep binary-arch
50 .PHONY: build clean binary-indep binary-arch binary