1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export CLASSPATH=/usr/share/java/commons-cli.jar:/usr/share/java/commons-lang.jar:/usr/share/java/commons-io.jar
export LC_ALL=C.UTF-8
%:
dh $@ --with javahelper
override_dh_auto_clean:
rm -rf lib build *.jar junit-tmp.xml TEST-*.xml
(test -e test && find test -name '*.class' -delete) || true
override_dh_auto_test:
cp debian/junit.xml ./junit-tmp.xml
ant -f junit-tmp.xml junit
override_dh_clean:
dh_clean
rm -f debian/*.log
override_dh_auto_build:
jh_build --javacopts="-encoding UTF8" rdp-readseq.jar src
cd src ; jar uf ../rdp-readseq.jar data
|