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
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
JAVA_HOME := /usr/lib/jvm/default-java
ANT_HOME := /usr/share/ant
DEB_JARS := commons-cli asm asm-commons
DEB_ANT_BUILD_TARGET := jar
DEB_ANT_CLEAN_TARGET := clean
# noget=true : force offline build
# final.name=jardiff : force Jar name to jardiff.jar
DEB_ANT_ARGS := -Dnoget=true -Dfinal.name=jardiff -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
# Strip .sh from script name
binary-post-install/jardiff::
mv $(CURDIR)/debian/jardiff/usr/bin/jardiff.sh $(CURDIR)/debian/jardiff/usr/bin/jardiff
get-orig-source:
uscan --force-download --rename
|