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
export JAVA_HOME=/usr/lib/jvm/default-java
%:
dh $@ --with javahelper
override_jh_build:
ant -f debian/build.xml
override_jh_clean:
jh_clean
ant -f debian/build.xml clean
mh_clean
override_dh_install:
dh_install
mh_installpoms -plibcodenarc-groovy-java
mh_installjar -plibcodenarc-groovy-java -l pom.xml target/CodeNarc.jar
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
uscan \
--verbose \
--rename \
--destdir $(CURDIR) \
--watchfile debian/watch \
--force-download
|