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 |
configure: configure-stamp |
12 |
configure-stamp: |
13 |
dh_testdir |
14 |
# Add here commands to configure the package. |
15 |
touch configure-stamp |
16 |
|
17 |
|
18 |
build: build-stamp |
19 |
|
20 |
build-stamp: configure-stamp |
21 |
dh_testdir |
22 |
|
23 |
# Add here commands to compile the package. |
24 |
ant dist |
25 |
|
26 |
touch $@ |
27 |
|
28 |
clean: |
29 |
dh_testdir |
30 |
dh_testroot |
31 |
rm -f build-stamp configure-stamp |
32 |
|
33 |
# Add here commands to clean up after the build process. |
34 |
ant clean |
35 |
|
36 |
dh_clean |
37 |
|
38 |
install: build |
39 |
dh_testdir |
40 |
dh_testroot |
41 |
dh_clean -k |
42 |
dh_installdirs |
43 |
|
44 |
|
45 |
# Build architecture-independent files here. |
46 |
binary-indep: build install |
47 |
dh_testdir |
48 |
dh_testroot |
49 |
dh_installchangelogs |
50 |
dh_installdocs |
51 |
# dh_installexamples |
52 |
dh_install |
53 |
# dh_installmenu |
54 |
# dh_installdebconf |
55 |
# dh_installlogrotate |
56 |
# dh_installemacsen |
57 |
# dh_installpam |
58 |
# dh_installmime |
59 |
# dh_python |
60 |
# dh_installinit |
61 |
# dh_installcron |
62 |
# dh_installinfo |
63 |
dh_installman |
64 |
dh_link |
65 |
dh_strip |
66 |
dh_compress |
67 |
dh_fixperms |
68 |
# dh_perl |
69 |
# dh_makeshlibs |
70 |
dh_installdeb |
71 |
dh_shlibdeps |
72 |
dh_gencontrol |
73 |
dh_md5sums |
74 |
dh_builddeb |
75 |
|
76 |
# Build architecture-dependent files here. |
77 |
binary-arch: build install |
78 |
binary: binary-indep binary-arch |
79 |
.PHONY: build clean binary-indep binary-arch binary install configure |