File: rules

package info (click to toggle)
jvyamlb 0.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 968 kB
  • ctags: 1,811
  • sloc: java: 10,098; xml: 93; sh: 44; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/bytelist.jar:/usr/share/java/jcodings.jar:/usr/share/java/joda-time.jar

%:
	dh $@ --with javahelper

override_dh_auto_configure:
	mkdir lib
# We link junit rather than adding to the classpath above because we only 
# need it for running the unit tests
	ln -sf /usr/share/java/junit4.jar lib/junit.jar

override_dh_clean:
	rm -rf lib
	dh_clean