#!/usr/bin/make -f JAVA_HOME=/usr/lib/jvm/default-java %: dh $@ --with javahelper override_dh_auto_clean: cd src; ant clean override_dh_auto_build: ant -buildfile src/build.xml -propertyfile debian/ant.properties ant -buildfile src/build.xml -propertyfile debian/ant.properties doc # fix broken doc-base creation - somehow the autogenereated doc-base prepends /debian/pkgname in front of the doc file override_dh_installdocs: dh_installdocs sed -i 's?/debian/[^/]\+/usr?/usr?' `find debian -name doc-base -type d`/*