File: rules

package info (click to toggle)
elki 0.7.1-10.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 24,688 kB
  • sloc: java: 184,181; xml: 4,242; python: 128; sh: 10; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export JAVA_HOME=$(shell . /usr/share/java-wrappers/java-wrappers.sh; find_java_runtime java8; echo $$JAVA_HOME )
# Debian local maven repository
REPO=/usr/share/maven-repo
# Ensure we use Maven 3
MVN=/usr/share/maven/bin/mvn -Dmaven.repo.local=$(REPO)

%:
	dh $@ --buildsystem=maven

override_dh_auto_configure:
	# Remove unneded executable bits:
	find elki addons data -type f -executable -exec chmod -x {} \+
	dh_auto_configure -O--buildsystem=maven

override_dh_auto_test:
	# Disable tests, as some will time-out on slow build hosts and then unexpectedly fail