File: rules

package info (click to toggle)
rdp-classifier 2.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,244 kB
  • ctags: 1,433
  • sloc: java: 9,679; xml: 1,502; sh: 56; makefile: 22
file content (37 lines) | stat: -rwxr-xr-x 861 bytes parent folder | download
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
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f
# -*- makefile -*-

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

export CLASSPATH=/usr/share/java/junit.jar:/usr/share/java/commons-cli.jar:/usr/share/java/rdp-alignment.jar:/usr/share/java/rdp-taxonomy-tree.jar:/usr/share/java/jfreechart.jar

%:
	dh $@ --with javahelper

override_dh_auto_build:
	jh_build -J rdp_classifier.jar src
	#jar uf rdp_classifier.jar data

override_dh_auto_clean:
	rm -f *.jar lib/*.jar TEST-*
	find test -name '*.class' -delete
	rm -f *.list tmp-junit.xml
	rm -rf dist

override_dh_auto_test:
	cp debian/junit.xml ./tmp-junit.xml
	ant -f tmp-junit.xml junit

override_dh_builddeb:
	dh_builddeb -- -Z xz

override_dh_compress:
	dh_compress -X.fasta

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/*/usr/share/*/*.sh

get-orig-source:
	uscan --verbose --force-download --repack --compress xz