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