c9c2ca27 |
1 | #!/usr/bin/make -f |
2 | # Made with the aid of dh_make, by Craig Small |
3 | # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. |
4 | # Some lines taken from debmake, by Cristoph Lameter. |
5 | |
6 | # Uncomment this to turn on verbose mode. |
7 | #export DH_VERBOSE=1 |
8 | |
9 | build: build-stamp |
10 | build-stamp: |
11 | dh_testdir |
12 | |
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 install-stamp |
23 | |
24 | # Add here commands to clean up after the build process. |
25 | -$(MAKE) clean |
26 | |
27 | dh_clean |
28 | |
29 | install: install-stamp |
30 | install-stamp: build-stamp |
31 | dh_testdir |
32 | dh_testroot |
33 | dh_clean -k |
34 | dh_installdirs |
35 | |
36 | # Add here commands to install the package into debian/tmp. |
37 | $(MAKE) install DESTDIR=`pwd`/debian/tmp |
7acef70b |
38 | install -d `pwd`/debian/tmp/usr/share/doc/abcde/examples |
39 | install -m 644 examples/* `pwd`/debian/tmp/usr/share/doc/abcde/examples |
c9c2ca27 |
40 | |
41 | touch install-stamp |
42 | |
43 | # Build architecture-independent files here. |
44 | binary-indep: build install |
45 | # We have nothing to do by default. |
46 | |
47 | # Build architecture-dependent files here. |
48 | binary-arch: build install |
49 | # dh_testversion |
50 | dh_testdir |
51 | dh_testroot |
52 | dh_installdocs |
53 | dh_installexamples |
54 | dh_installmenu |
24473a44 |
55 | dh_installman |
c9c2ca27 |
56 | dh_installchangelogs |
57 | dh_link |
58 | dh_strip |
59 | dh_compress |
60 | dh_fixperms |
61 | dh_installdeb |
62 | dh_shlibdeps |
63 | dh_gencontrol |
64 | # dh_makeshlibs |
65 | dh_md5sums |
66 | dh_builddeb |
67 | |
68 | source diff: |
69 | @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false |
70 | |
71 | binary: binary-indep binary-arch |
72 | .PHONY: build clean binary-indep binary-arch binary |