#!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java export CLASSPATH=/usr/share/java/cup.jar:/usr/share/java/jflex.jar %: dh $@ --with maven-repo-helper --buildsystem=ant override_dh_install: if [ -f $(CURDIR)/dist/java-cup-11b.jar ]; then \ mv dist/java-cup-11b.jar dist/java-cup-0.11b.jar; \ mv dist/java-cup-11b-runtime.jar dist/java-cup-0.11b-runtime.jar; \ fi dh_install override_dh_clean: dh_clean mh_clean $(RM) dist/java-cup-0.11b.jar $(RM) dist/java-cup-0.11b-runtime.jar