Imported Debian patch 1.0-12
[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-stamp
7 build-stamp:
8         dh_testdir
9         touch build-stamp
10
11 clean:
12         dh_testdir
13         dh_testroot
14         rm -f build-stamp
15         dh_clean
16
17 # Build architecture-independent files here.
18 binary-indep: build
19
20 # Build architecture-dependent files here.
21 binary-arch: build
22         dh_testdir
23         dh_testroot
24         dh_clean -k
25         dh_installdirs
26         install -g root -m 755 -o root p10cfgd debian/p10cfgd/usr/sbin/p10cfgd
27         install -g root -m 644 -o root p10cfgd \
28                 debian/p10cfgd/usr/share/man/man1/p10cfgd.1
29         install -o root -g root -m 0644 debian/p10cfgd.lintian \
30                 debian/p10cfgd/usr/share/lintian/overrides/p10cfgd
31         dh_installdocs
32         dh_installexamples examples/*
33         dh_installmenu
34         dh_installcron
35         dh_installchangelogs
36         dh_strip
37         dh_compress
38         dh_fixperms
39         dh_installdeb
40         dh_shlibdeps
41         dh_gencontrol
42         dh_md5sums
43         dh_builddeb
44
45 source diff:                                                                  
46         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
47
48 binary: binary-indep binary-arch
49 .PHONY: build clean binary-indep binary-arch binary