#!/usr/bin/make -f export DH_VERBOSE = 1 #JAVA_HOME := /usr/lib/jvm/default-java %: dh $@ --buildsystem maven override_dh_auto_build: # First build the scala part cd latexdraw-core/net.sf.latexdraw && \ mkdir -p target/classes && \ CLASSPATH=.:\ /usr/share/java/malai.core.jar:\ /usr/share/java/malai.swing.jar:\ /usr/share/java/pdfrenderer.jar \ scalac \ -d target/classes \ `find -name \*.scala -type f` \ `find -name \*.java -type f` # Then get maven to build the java part dh_auto_build # Prevent the tests from running until we can find out why # they fail; the failure can't be replicated with normal usage # of the program, so suppressing the failure seems OK. override_dh_auto_test: