]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/make -f | |
2 | # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. | |
3 | ||
4 | # Uncomment this to turn on verbose mode. | |
5 | #export DH_VERBOSE=1 | |
6 | ||
7 | build: build-stamp | |
8 | build-stamp: | |
9 | dh_testdir | |
10 | $(MAKE) | |
11 | $(MAKE) samples | |
12 | touch build-stamp | |
13 | ||
14 | clean: | |
15 | dh_testdir | |
16 | dh_testroot | |
17 | rm -f build-stamp | |
18 | -$(MAKE) -i clean | |
19 | dh_clean | |
20 | ||
21 | # Build architecture-independent files here. | |
22 | binary-indep: build | |
23 | # We have nothing to do by default. | |
24 | ||
25 | # Build architecture-dependent files here. | |
26 | binary-arch: build | |
27 | # dh_testversion | |
28 | dh_testdir | |
29 | dh_testroot | |
30 | dh_clean -k | |
31 | dh_installdirs | |
32 | $(MAKE) PREFIX=debian/tmp install | |
33 | dh_installdocs README SAMPLES | |
34 | dh_installexamples | |
35 | dh_installmenu | |
36 | # dh_installinit | |
37 | dh_installcron | |
38 | dh_installmanpages | |
39 | # dh_undocumented | |
40 | dh_installchangelogs | |
41 | dh_strip | |
42 | dh_compress | |
43 | dh_fixperms | |
44 | dh_suidregister | |
45 | dh_installdeb | |
46 | dh_shlibdeps | |
47 | dh_gencontrol | |
48 | # dh_makeshlibs | |
49 | dh_md5sums | |
50 | dh_builddeb | |
51 | ||
52 | binary: binary-indep binary-arch | |
53 | .PHONY: build clean binary-indep binary-arch binary |