1 |
gregoa |
431 |
#!/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 |
gregoa |
640 |
get-orig-source: |
15 |
gregoa |
717 |
uscan --force-download |
16 |
gregoa |
640 |
|
17 |
gregoa |
431 |
configure: configure-stamp |
18 |
gregoa |
1121 |
configure-stamp: $(DPATCH_STAMPFN) |
19 |
gregoa |
431 |
dh_testdir |
20 |
|
|
touch configure-stamp |
21 |
|
|
|
22 |
|
|
build: build-stamp |
23 |
|
|
build-stamp: configure-stamp |
24 |
|
|
dh_testdir |
25 |
gregoa |
1121 |
JAVA_HOME=/usr/lib/jvm/java-gcj ant package javadoc |
26 |
gregoa |
431 |
touch $@ |
27 |
|
|
|
28 |
gregoa |
1121 |
clean: unpatch |
29 |
gregoa |
431 |
dh_testdir |
30 |
|
|
dh_testroot |
31 |
|
|
ant clean |
32 |
gregoa |
1121 |
rm -f build-stamp configure-stamp install-stamp |
33 |
gregoa |
431 |
dh_clean |
34 |
|
|
|
35 |
gregoa |
1121 |
install: install-stamp |
36 |
|
|
install-stamp: build-stamp |
37 |
gregoa |
431 |
dh_testdir |
38 |
|
|
dh_testroot |
39 |
|
|
dh_clean -k |
40 |
|
|
dh_installdirs |
41 |
gregoa |
1121 |
touch $@ |
42 |
gregoa |
431 |
|
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_link |
51 |
|
|
dh_compress |
52 |
|
|
dh_fixperms |
53 |
|
|
dh_installdeb |
54 |
|
|
dh_shlibdeps |
55 |
|
|
dh_gencontrol |
56 |
|
|
dh_md5sums |
57 |
|
|
dh_builddeb |
58 |
|
|
|
59 |
gregoa |
858 |
# Build architecture-dependent files here. |
60 |
|
|
binary-arch: build install |
61 |
|
|
# We have nothing to do by default. |
62 |
|
|
|
63 |
gregoa |
431 |
binary: binary-indep binary-arch |
64 |
|
|
.PHONY: build clean binary-indep binary-arch binary install configure |