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/quilt/quilt.make |
13 |
|
14 |
build: build-stamp |
15 |
build-stamp: $(QUILT_STAMPFN) |
16 |
dh_testdir |
17 |
JAVA_HOME=/usr/lib/jvm/default-java ant -Dnoget=true jar javadoc |
18 |
touch $@ |
19 |
|
20 |
clean: unpatch |
21 |
dh_testdir |
22 |
dh_testroot |
23 |
ant clean |
24 |
dh_clean build-stamp install-stamp |
25 |
|
26 |
install: install-stamp |
27 |
install-stamp: build-stamp |
28 |
dh_testdir |
29 |
dh_testroot |
30 |
dh_clean -k |
31 |
touch $@ |
32 |
|
33 |
binary-indep: build install |
34 |
dh_testdir |
35 |
dh_testroot |
36 |
dh_installchangelogs |
37 |
dh_installdocs |
38 |
dh_install |
39 |
dh_link |
40 |
dh_compress |
41 |
dh_fixperms |
42 |
dh_installdeb |
43 |
dh_gencontrol |
44 |
dh_md5sums |
45 |
dh_builddeb |
46 |
|
47 |
binary-arch: build install |
48 |
|
49 |
binary: binary-indep binary-arch |
50 |
.PHONY: build clean binary-indep binary-arch binary install |