#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk
pkg=$(firstword $(DEB_ALL_PACKAGES))

JAVA_HOME := /usr/lib/jvm/default-java
# DEB_MAVEN_DOC_TARGET := javadoc:javadoc javadoc:aggregate

get-orig-source:
	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

install/$(pkg)::
	# --no-usj-versionless does not to what the comment in the
	# --generated .poms file claims.
	mv debian/$(pkg)/usr/share/java/spatial4j.jar \
	   debian/$(pkg)/usr/share/java/spatial4j-0.4.1.jar
