#!/usr/bin/make -f

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

# Put depended upon jars in here
# export CLASSPATH=

%:
	dh $@ --with javahelper

VERSION := $(shell dpkg-parsechangelog | awk -F'[ -]' '/^Version: /{print $$2}')

override_jh_build:
	jh_build --javacopts="-source 1.5 -target 1.5" --javadoc-opts="-source 1.5"
	
get-orig-source:
	uscan --download-version $(VERSION) --force-download
