Use debhelper 8 and dh(1).
gregor herrmann
11 years ago
2 | 2 |
Priority: extra
|
3 | 3 |
Maintainer: gregor herrmann <gregoa@debian.org>
|
4 | 4 |
Uploaders: tony mancill <tmancill@debian.org>
|
5 | |
Build-Depends: debhelper (>= 5), ant, quilt
|
|
5 |
Build-Depends: debhelper (>= 8), ant, quilt
|
6 | 6 |
Build-Depends-Indep: default-jdk, libcommons-fileupload-java
|
7 | 7 |
Standards-Version: 3.8.2
|
8 | 8 |
Homepage: http://onemind-commons.sourceforge.net/commons-java/
|
0 | 0 |
#!/usr/bin/make -f
|
1 | |
# -*- makefile -*-
|
2 | |
# Sample debian/rules that uses debhelper.
|
3 | |
# This file was originally written by Joey Hess and Craig Small.
|
4 | |
# As a special exception, when this file is copied by dh-make into a
|
5 | |
# dh-make output file, you may use that output file without restriction.
|
6 | |
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
7 | 1 |
|
8 | |
# Uncomment this to turn on verbose mode.
|
9 | |
#export DH_VERBOSE=1
|
|
2 |
export JAVA_HOME=/usr/lib/jvm/default-java
|
|
3 |
export ANT_OPTS=-Dnoget=true
|
10 | 4 |
|
11 | |
include /usr/share/quilt/quilt.make
|
|
5 |
%:
|
|
6 |
dh $@
|
12 | 7 |
|
13 | |
build: build-stamp
|
14 | |
build-stamp: $(QUILT_STAMPFN)
|
15 | |
dh_testdir
|
16 | |
JAVA_HOME=/usr/lib/jvm/default-java ant -Dnoget=true jar javadoc
|
17 | |
touch $@
|
18 | |
|
19 | |
clean: unpatch
|
20 | |
dh_testdir
|
21 | |
dh_testroot
|
22 | |
ant clean
|
23 | |
dh_clean build-stamp install-stamp
|
24 | |
|
25 | |
install: install-stamp
|
26 | |
install-stamp: build-stamp
|
27 | |
dh_testdir
|
28 | |
dh_testroot
|
29 | |
dh_clean -k
|
30 | |
touch $@
|
31 | |
|
32 | |
binary-indep: build install
|
33 | |
dh_testdir
|
34 | |
dh_testroot
|
35 | |
dh_installchangelogs
|
36 | |
dh_installdocs
|
37 | |
dh_install
|
38 | |
dh_installman
|
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
|
|
8 |
override_dh_auto_build:
|
|
9 |
dh_auto_build -- jar javadoc
|