#!/usr/bin/make -f export JAVA_HOME := /usr/lib/jvm/default-java MAVEN_REPO := http://repo1.maven.org/maven2/org/osgi/org.osgi.annotation VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | sed -e 's/-[^-]*$$//') JAR_NAME := osgi.annotation PACKAGE := libosgi-annotation-java %: dh $@ --with javahelper --with jh_maven_repo_helper get-orig-source: uscan --verbose --repack --compression xz --force-download --download-current-version get-orig-pom: wget --user-agent="" -O debian/pom.xml $(MAVEN_REPO)/$(VERSION)/org.osgi.annotation-$(VERSION).pom