#!/usr/bin/make -f

export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export JAVACFLAGS = -source 1.5 -target 1.5

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

%:
	dh $@ --with javahelper --with jh_maven_repo_helper -Sautoconf --with autoreconf

build-indep:
	javadoc -locale en_US -d debian/build/javadoc -link /usr/share/doc/default-jdk-doc/api $(shell find -name "*.java")

