]>
Commit | Line | Data |
---|---|---|
7e3afbba | 1 | #!/usr/bin/make -f |
f49da801 | 2 | # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. |
7e3afbba | 3 | |
f49da801 | 4 | # Uncomment this to turn on verbose mode. |
5 | #export DH_VERBOSE=1 | |
7e3afbba | 6 | |
7 | build: build-stamp | |
f49da801 | 8 | build-stamp: |
9 | dh_testdir | |
10 | $(MAKE) | |
11 | $(MAKE) samples | |
12 | touch build-stamp | |
7e3afbba | 13 | |
f49da801 | 14 | clean: |
15 | dh_testdir | |
16 | dh_testroot | |
17 | rm -f build-stamp | |
18 | -$(MAKE) -i clean | |
19 | dh_clean | |
7e3afbba | 20 | |
21 | # Build architecture-independent files here. | |
7e3afbba | 22 | binary-indep: build |
f49da801 | 23 | # We have nothing to do by default. |
7e3afbba | 24 | |
25 | # Build architecture-dependent files here. | |
26 | binary-arch: build | |
f49da801 | 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 | |
7e3afbba | 51 | |
52 | binary: binary-indep binary-arch | |
f49da801 | 53 | .PHONY: build clean binary-indep binary-arch binary |