File: rules

package info (click to toggle)
rdp-classifier 2.10.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,280 kB
  • sloc: java: 9,679; xml: 1,522; sh: 56; makefile: 20
file content (34 lines) | stat: -rwxr-xr-x 835 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
#!/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
	#jar uf rdp_classifier.jar -C test test

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:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cp debian/junit.xml ./tmp-junit.xml
	ant -f tmp-junit.xml junit
endif

override_dh_compress:
	dh_compress -X.fasta

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