#!/usr/bin/make -f VERSION := 1.3.05 JAXP_VERSION := 1.3 JAVA_HOME := /usr/lib/jvm/default-java %: dh $@ --with maven-repo-helper --with javahelper override_dh_auto_build: mkdir -p build/license $(JAVA_HOME)/bin/javac -source 1.8 -d build `find javax org -name \*.java` cp LICENSE.*.txt README.*.txt build/license cd build && $(JAVA_HOME)/bin/jar cmf ../manifest.commons jaxp-1.3.jar javax license org get-orig-pom: wget -O debian/xml-apis.pom http://repository.sonatype.org/service/local/repositories/central/content/xml-apis/xml-apis/$(VERSION)/xml-apis-$(VERSION).pom wget -O debian/jaxp.pom http://repository.sonatype.org/service/local/repositories/central/content/javax/xml/jaxp-api/$(JAXP_VERSION)/jaxp-api-$(JAXP_VERSION).pom