File: rules

package info (click to toggle)
elki 0.7.1-6
  • links: PTS
  • area: main
  • in suites: sid
  • size: 24,576 kB
  • ctags: 27,568
  • sloc: java: 184,193; xml: 4,242; python: 128; sh: 10; makefile: 9
file content (21 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# Prefer OpenJDK7 for reproducibility:
export JAVA_HOME=$(shell . /usr/share/java-wrappers/java-wrappers.sh; find_java_runtime openjdk7 java7 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:

#build:
#	mh_patchpoms -pelki
#	$(MVN) --offline -Psvg,svm -DskipTests=true package