author | Markus Bröker <mbroeker@largo.dyndns.tv> |
Sat, 27 Feb 2010 19:00:11 +0100 | |
changeset 51 | 5d9aed3948a6 |
parent 32 | 89fb9c6611ca |
child 62 | 2d6419d6d4ed |
permissions | -rwxr-xr-x |
0 | 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 |
||
32
89fb9c6611ca
unix system accounts are less than 1000
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
31
diff
changeset
|
25 |
build-stamp: configure-stamp |
0 | 26 |
dh_testdir |
27 |
||
28 |
# Add here commands to compile the package. |
|
29 |
$(MAKE) |
|
30 |
#docbook-to-man debian/mcbot.sgml > mcbot.1 |
|
31 |
||
32 |
touch $@ |
|
33 |
||
34 |
clean: |
|
35 |
dh_testdir |
|
36 |
dh_testroot |
|
37 |
rm -f build-stamp configure-stamp |
|
38 |
||
39 |
# Add here commands to clean up after the build process. |
|
29
08ec6ddd6eea
command must be freed - makes valgrind happy trivial changes to the debian build process
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
0
diff
changeset
|
40 |
$(MAKE) distclean |
32
89fb9c6611ca
unix system accounts are less than 1000
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
31
diff
changeset
|
41 |
dh_clean |
0 | 42 |
|
43 |
install: build |
|
44 |
dh_testdir |
|
45 |
dh_testroot |
|
32
89fb9c6611ca
unix system accounts are less than 1000
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
31
diff
changeset
|
46 |
dh_clean -k |
0 | 47 |
dh_installdirs |
48 |
||
49 |
# Add here commands to install the package into debian/mcbot. |
|
50 |
$(MAKE) DESTDIR=$(CURDIR)/debian/mcbot install |
|
31
bbcb8a3366b4
mcbot needs a proper system account
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
29
diff
changeset
|
51 |
cp config/.mcbotrc debian/mcbot/var/lib/mcbot/ |
0 | 52 |
|
53 |
# Build architecture-independent files here. |
|
54 |
binary-indep: build install |
|
55 |
# We have nothing to do by default. |
|
56 |
||
57 |
# Build architecture-dependent files here. |
|
58 |
binary-arch: build install |
|
59 |
dh_testdir |
|
60 |
dh_testroot |
|
32
89fb9c6611ca
unix system accounts are less than 1000
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
31
diff
changeset
|
61 |
dh_installchangelogs |
0 | 62 |
dh_installdocs |
63 |
dh_installexamples |
|
64 |
# dh_install |
|
65 |
# dh_installmenu |
|
32
89fb9c6611ca
unix system accounts are less than 1000
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
31
diff
changeset
|
66 |
# dh_installdebconf |
0 | 67 |
# dh_installlogrotate |
68 |
# dh_installemacsen |
|
69 |
# dh_installpam |
|
70 |
# dh_installmime |
|
71 |
# dh_python |
|
72 |
# dh_installinit |
|
73 |
# dh_installcron |
|
74 |
# dh_installinfo |
|
75 |
dh_installman |
|
76 |
dh_link |
|
77 |
dh_strip |
|
78 |
dh_compress |
|
79 |
dh_fixperms |
|
80 |
# dh_perl |
|
81 |
# dh_makeshlibs |
|
82 |
dh_installdeb |
|
83 |
dh_shlibdeps |
|
84 |
dh_gencontrol |
|
85 |
dh_md5sums |
|
86 |
dh_builddeb |
|
87 |
||
88 |
binary: binary-indep binary-arch |
|
89 |
.PHONY: build clean binary-indep binary-arch binary install configure |