]> git.donarmstrong.com Git - debhelper.git/blob - examples/rules.indep
rules.tiny: Typo fix. Closes: #479647
[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 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_prep
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_installwm
57 #       dh_installudev
58 #       dh_lintian
59 #       dh_undocumented
60         dh_installman
61         dh_link
62         dh_compress
63         dh_fixperms
64 #       dh_perl
65 #       dh_python
66         dh_installdeb
67         dh_gencontrol
68         dh_md5sums
69         dh_builddeb
70
71 # Build architecture-dependent files here.
72 binary-arch: build install
73 # We have nothing to do by default.
74
75 binary: binary-indep binary-arch
76 .PHONY: build clean binary-indep binary-arch binary install