1 |
#!/usr/bin/make -f |
2 |
# -*- makefile -*- |
3 |
# Sample debian/rules that uses debhelper. |
4 |
# This file was originally written by Joey Hess and Craig Small. |
5 |
# As a special exception, when this file is copied by dh-make into a |
6 |
# dh-make output file, you may use that output file without restriction. |
7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
8 |
|
9 |
# Uncomment this to turn on verbose mode. |
10 |
#export DH_VERBOSE=1 |
11 |
|
12 |
|
13 |
|
14 |
|
15 |
configure: configure-stamp |
16 |
configure-stamp: |
17 |
dh_testdir |
18 |
# Add here commands to configure the package. |
19 |
|
20 |
touch configure-stamp |
21 |
|
22 |
|
23 |
build: build-stamp |
24 |
|
25 |
build-stamp: configure-stamp |
26 |
dh_testdir |
27 |
|
28 |
touch build-stamp |
29 |
|
30 |
clean: |
31 |
dh_testdir |
32 |
dh_testroot |
33 |
rm -f build-stamp configure-stamp |
34 |
|
35 |
dh_clean |
36 |
|
37 |
install: build |
38 |
dh_testdir |
39 |
dh_testroot |
40 |
dh_clean -k |
41 |
dh_installdirs |
42 |
|
43 |
|
44 |
# Build architecture-independent files here. |
45 |
binary-indep: build install |
46 |
chmod 644 *sh |
47 |
# We have nothing to do by default. |
48 |
|
49 |
# Build architecture-dependent files here. |
50 |
binary-arch: build install |
51 |
dh_testdir |
52 |
dh_testroot |
53 |
dh_installchangelogs |
54 |
dh_installdocs |
55 |
# dh_installexamples |
56 |
dh_install |
57 |
# dh_installmenu |
58 |
# dh_installdebconf |
59 |
# dh_installlogrotate |
60 |
# dh_installemacsen |
61 |
# dh_installpam |
62 |
# dh_installmime |
63 |
# dh_installinit |
64 |
# dh_installcron |
65 |
# dh_installinfo |
66 |
# dh_installman |
67 |
# dh_link |
68 |
# dh_strip |
69 |
dh_compress |
70 |
dh_fixperms |
71 |
# dh_perl |
72 |
# dh_python |
73 |
# dh_makeshlibs |
74 |
dh_installdeb |
75 |
# dh_shlibdeps |
76 |
dh_gencontrol |
77 |
dh_md5sums |
78 |
dh_builddeb |
79 |
|
80 |
binary: binary-indep binary-arch |
81 |
.PHONY: build clean binary-indep binary-arch binary install configure |