]> git.donarmstrong.com Git - debhelper.git/blob - examples/rules.indep
r420: big monsta changes
[debhelper.git] / examples / rules.indep
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 # This is the debhelper compatibility version to use.
11 export DH_COMPAT=3
12
13 build: build-stamp
14 build-stamp:
15         dh_testdir
16
17         # Add here commands to compile the package.
18         #$(MAKE)
19
20         touch build-stamp
21
22 clean:
23         dh_testdir
24         dh_testroot
25         rm -f build-stamp
26
27         # Add here commands to clean up after the build process.
28         #-$(MAKE) clean
29         #-$(MAKE) distclean
30
31         dh_clean
32
33 install: build
34         dh_testdir
35         dh_testroot
36         dh_clean -k
37         dh_installdirs
38
39         # Add here commands to install the package into debian/<packagename>.
40         #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
41
42 # Build architecture-independent files here.
43 binary-indep: build install
44         dh_testdir
45         dh_testroot
46 #       dh_installdebconf
47         dh_installdocs
48         dh_installexamples
49         dh_installmenu
50 #       dh_installlogrotate
51 #       dh_installemacsen
52 #       dh_installpam
53 #       dh_installmime
54 #       dh_installinit
55         dh_installcron
56 #       dh_installman
57         dh_installinfo
58 #       dh_undocumented
59         dh_installchangelogs
60         dh_link
61         dh_compress
62         dh_fixperms
63         dh_installdeb
64 #       dh_perl
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