]>
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 | # This is the debhelper compatibility version to use. | |
8 | export DH_COMPAT=2 | |
9 | ||
10 | build: build-stamp | |
11 | build-stamp: | |
12 | dh_testdir | |
13 | $(MAKE) | |
14 | $(MAKE) samples | |
15 | touch build-stamp | |
16 | ||
17 | clean: | |
18 | dh_testdir | |
19 | dh_testroot | |
20 | rm -f build-stamp | |
21 | -$(MAKE) -i clean | |
22 | dh_clean | |
23 | ||
24 | # Build architecture-independent files here. | |
25 | binary-indep: build | |
26 | # We have nothing to do by default. | |
27 | ||
28 | # Build architecture-dependent files here. | |
29 | binary-arch: build | |
30 | # dh_testversion | |
31 | dh_testdir | |
32 | dh_testroot | |
33 | dh_clean -k | |
34 | dh_installdirs | |
35 | $(MAKE) PREFIX=debian/filters install | |
36 | dh_installdocs README SAMPLES | |
37 | dh_installexamples | |
38 | dh_installmenu | |
39 | # dh_installinit | |
40 | dh_installcron | |
41 | dh_installmanpages | |
42 | # dh_undocumented | |
43 | dh_installchangelogs | |
44 | dh_strip | |
45 | dh_compress | |
46 | dh_fixperms | |
47 | dh_suidregister | |
48 | dh_installdeb | |
49 | dh_shlibdeps | |
50 | dh_gencontrol | |
51 | # dh_makeshlibs | |
52 | dh_md5sums | |
53 | dh_builddeb | |
54 | ||
55 | binary: binary-indep binary-arch | |
56 | .PHONY: build clean binary-indep binary-arch binary |