#!/usr/bin/make -f export CLASSPATH := /usr/share/java/asm.jar:/usr/share/java/asm-commons.jar # Variable for the Built-Using field in the control file ASM_VERSION := $(shell dpkg-query -f '$${source:Version}' --show libasm-java) %: dh $@ --with maven-repo-helper override_dh_auto_build: mkdir -p lib dh_auto_build override_dh_gencontrol: dh_gencontrol -- -Vasm:Version=${ASM_VERSION} override_dh_auto_clean: dh_auto_clean dh_auto_build -- clean