File: rules

package info (click to toggle)
cofoja 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 952 kB
  • sloc: java: 10,706; xml: 308; sh: 174; makefile: 16
file content (25 lines) | stat: -rwxr-xr-x 566 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
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --buildsystem=ant --with javahelper

override_dh_auto_configure:
	# Install the dependencies in the lib directory instead of using Ivy
	mkdir -p lib
	ln -s /usr/share/java/junit4.jar   lib/junit.jar
	ln -s /usr/share/java/asm-all.jar lib/asm-all.jar

override_dh_auto_build:
	dh_auto_build -- dist -Dcofoja.bare.jar=dist/cofoja.jar

override_dh_auto_test:
	dh_auto_build -- test

override_dh_auto_clean:
	dh_auto_clean
	rm -Rf lib

get-orig-source:
	uscan --download-current-version --rename