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 |
include /usr/share/dpatch/dpatch.make |
13 |
|
14 |
configure: configure-stamp |
15 |
|
16 |
configure-stamp: |
17 |
dh_testdir |
18 |
touch configure-stamp |
19 |
|
20 |
|
21 |
build: build-stamp |
22 |
|
23 |
build-stamp: configure-stamp patch |
24 |
dh_testdir |
25 |
ant dist |
26 |
|
27 |
touch $@ |
28 |
|
29 |
clean: unpatch |
30 |
dh_testdir |
31 |
dh_testroot |
32 |
rm -f build-stamp configure-stamp |
33 |
ant clean |
34 |
dh_clean |
35 |
|
36 |
install: build |
37 |
dh_testdir |
38 |
dh_testroot |
39 |
dh_clean -k |
40 |
dh_installdirs |
41 |
|
42 |
|
43 |
# Build architecture-independent files here. |
44 |
binary-indep: build install |
45 |
dh_testdir |
46 |
dh_testroot |
47 |
dh_installchangelogs |
48 |
dh_installdocs |
49 |
dh_install |
50 |
dh_installman |
51 |
dh_link |
52 |
dh_compress -X.sxi |
53 |
dh_fixperms |
54 |
dh_installdeb |
55 |
dh_shlibdeps |
56 |
dh_gencontrol |
57 |
dh_md5sums |
58 |
dh_builddeb |
59 |
|
60 |
# Build architecture-dependent files here. |
61 |
binary-arch: build install |
62 |
binary: binary-indep binary-arch |
63 |
.PHONY: build clean binary-indep binary-arch binary install configure |