r1: [svn-inject] Installing original source of munin-cn
[munin-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_installmenu
47 #       dh_installdebconf
48 #       dh_installlogrotate
49 #       dh_installemacsen
50 #       dh_installcatalogs
51 #       dh_installpam
52 #       dh_installmime
53 #       dh_installinit
54 #       dh_installcron
55 #       dh_installinfo
56 #       dh_undocumented
57         dh_installman
58         dh_link
59         dh_compress
60         dh_fixperms
61 #       dh_perl
62 #       dh_python
63         dh_installdeb
64         dh_gencontrol
65         dh_md5sums
66         dh_builddeb
67
68 # Build architecture-dependent files here.
69 binary-arch: build install
70 # We have nothing to do by default.
71
72 binary: binary-indep binary-arch
73 .PHONY: build clean binary-indep binary-arch binary install