Imported Debian patch 1.0-11
[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/tmp/usr/sbin/p10cfgd
27         install -g root -m 644 -o root p10cfgd \
28                 debian/tmp/usr/share/man/man1/p10cfgd.1
29         dh_installdocs
30         dh_installexamples examples/*
31         dh_installmenu
32         dh_installcron
33         dh_installmanpages
34         dh_installchangelogs
35         dh_strip
36         dh_compress
37         dh_fixperms
38         dh_installdeb
39         dh_shlibdeps
40         dh_gencontrol
41         dh_md5sums
42         dh_builddeb
43
44 source diff:                                                                  
45         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
46
47 binary: binary-indep binary-arch
48 .PHONY: build clean binary-indep binary-arch binary