1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/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`/*
|