r3: - oops, add missing debconf stuff
[spamassassin-cn.git] / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper. 
3 # This file is public domain software, originally written by Joey Hess.
4 #
5 # This version is for packages that are architecture independent.
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 build: build-stamp
11 build-stamp:
12         dh_testdir
13
14         # Add here commands to compile the package.
15         #$(MAKE)
16
17         touch build-stamp
18
19 clean:
20         dh_testdir
21         dh_testroot
22         rm -f build-stamp
23
24         # Add here commands to clean up after the build process.
25         #-$(MAKE) clean
26         #-$(MAKE) distclean
27
28         dh_clean
29
30 install: build
31         dh_testdir
32         dh_testroot
33         dh_clean -k
34         dh_installdirs
35
36         # Add here commands to install the package into debian/<packagename>.
37         #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
38
39 # Build architecture-independent files here.
40 binary-indep: build install
41         dh_testdir
42         dh_testroot
43         dh_installchangelogs
44         dh_installdocs
45         dh_installexamples
46         dh_install
47 #       dh_installmenu
48         dh_installdebconf
49 #       dh_installlogrotate
50 #       dh_installemacsen
51 #       dh_installcatalogs
52 #       dh_installpam
53 #       dh_installmime
54 #       dh_installinit
55         dh_installcron
56 #       dh_installinfo
57 #       dh_undocumented
58         dh_installman
59         dh_link
60         dh_compress
61         dh_fixperms
62 #       dh_perl
63 #       dh_python
64         dh_installdeb
65         dh_gencontrol
66         dh_md5sums
67         dh_builddeb
68
69 # Build architecture-dependent files here.
70 binary-arch: build install
71 # We have nothing to do by default.
72
73 binary: binary-indep binary-arch
74 .PHONY: build clean binary-indep binary-arch binary install