File: rules

package info (click to toggle)
rdp-readseq 2.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,972 kB
  • sloc: java: 7,550; xml: 1,381; makefile: 18; sh: 1
file content (28 lines) | stat: -rwxr-xr-x 759 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export CLASSPATH=/usr/share/jaba/jaxb-api.jar:/usr/share/java/jaxb-impl.jar:/usr/share/java/commons-cli.jar:/usr/share/java/commons-lang.jar:/usr/share/java/commons-io.jar
export LC_ALL=C.UTF-8

%:
	dh $@ --with javahelper

override_dh_auto_clean:
	rm -rf lib build *.jar junit-tmp.xml TEST-*.xml
	(test -e test && find test -name '*.class' -delete) || true

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cp debian/junit.xml ./junit-tmp.xml
	ant -f junit-tmp.xml junit
endif

override_dh_clean:
	dh_clean
	rm -f debian/*.log

override_dh_auto_build:
	jh_build --javacopts="-encoding UTF8" rdp-readseq.jar src
	cd src ; jar uf ../rdp-readseq.jar data