1f1ea6c69d1a301256bf98ec049abd1726f1da6c
[amavisd-cn.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 configure: configure-stamp
13 configure-stamp:
14         dh_testdir
15         # Add here commands to configure the package.
16
17         touch configure-stamp
18
19
20 build: build-stamp
21
22 build-stamp: configure-stamp 
23         dh_testdir
24
25         # Add here commands to compile the package.
26         # $(MAKE)
27         # pod2man debian/carnet-tools-cn/usr/sbin/cp-update > cp-update.1
28
29         touch build-stamp
30
31 clean:
32         dh_testdir
33         dh_testroot
34         rm -f build-stamp configure-stamp
35
36         # Add here commands to clean up after the build process.
37         # -$(MAKE) clean
38
39         dh_clean 
40
41 install: build
42         dh_testdir
43         dh_testroot
44         dh_clean -k 
45         dh_installdirs
46
47         # Add here commands to install the package into debian/package-name.
48         # $(MAKE) install DESTDIR=$(CURDIR)/debian/carnet-tools-cn
49
50
51 # Build architecture-independent files here.
52 binary-indep: build install
53 # We have nothing to do by default.
54
55 # Build architecture-dependent files here.
56 binary-arch: build install
57         dh_testdir
58         dh_testroot
59         dh_installchangelogs
60         dh_installdocs
61 #       dh_installexamples
62         dh_install -X/.svn
63 #       dh_installmenu
64 #       dh_installdebconf       
65 #       dh_installlogrotate
66 #       dh_installemacsen
67 #       dh_installpam
68 #       dh_installmime
69         dh_installinit -n
70         dh_installcron
71 #       dh_installinfo
72 #       dh_installman
73 #       dh_link
74 #       dh_strip
75         dh_compress
76         dh_fixperms
77 #       dh_perl
78 #       dh_python
79 #       dh_makeshlibs
80         dh_installdeb
81 #       dh_shlibdeps
82         dh_gencontrol
83         dh_md5sums
84         dh_builddeb
85
86 binary: binary-indep binary-arch
87 .PHONY: build clean binary-indep binary-arch binary install configure