File: rules

package info (click to toggle)
jardiff 0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 520 kB
  • ctags: 442
  • sloc: java: 2,541; xml: 292; sh: 17; makefile: 12
file content (26 lines) | stat: -rwxr-xr-x 775 bytes parent folder | download | duplicates (2)
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