]> git.donarmstrong.com Git - debhelper.git/blob - examples/rules.indep
r295: * Corrected a path name in dh_installxfonts. Closes: #48315
[debhelper.git] / examples / rules.indep
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper. 
3 # GNU copyright 1997 to 1999 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 compatability version to use.
11 export DH_COMPAT=1
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/tmp.
40         #$(MAKE) prefix=`pwd`/debian/tmp/usr install
41
42 # Build architecture-independent files here.
43 binary-indep: build install
44 #       dh_testversion
45         dh_testdir
46         dh_testroot
47 #       dh_installdebconf
48         dh_installdocs
49         dh_installexamples
50         dh_installmenu
51 #       dh_installemacsen
52 #       dh_installpam
53 #       dh_installinit
54         dh_installcron
55 #       dh_installmanpages
56         dh_installinfo
57 #       dh_undocumented
58         dh_installchangelogs
59         dh_link
60         dh_compress
61         dh_fixperms
62         # You may want to make some executables suid here.
63         dh_suidregister
64         dh_installdeb
65 #       dh_perl
66         dh_gencontrol
67         dh_md5sums
68         dh_builddeb
69
70 # Build architecture-dependent files here.
71 binary-arch: build install
72 # We have nothing to do by default.
73
74 binary: binary-indep binary-arch
75 .PHONY: build clean binary-indep binary-arch binary install