#!/usr/bin/make -f

%:
	dh $@ --with javahelper --with maven-repo-helper

override_dh_auto_build:
	dh_auto_build -- -Dextdoc_url=file:///usr/share/doc/default-jdk-doc/api -Ddebug=true jar doc maven
	cp build/maven/xz-*.pom build/maven/xz.pom

override_dh_installchangelogs:
	dh_installchangelogs -- NEWS

get-orig-source:
	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
	uscan --rename --repack --compression xz --destdir $(CURDIR) --force-download
