File: rules

package info (click to toggle)
jacksum-sugar 1.7.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 160 kB
  • sloc: java: 1,217; makefile: 9
file content (18 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v

export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with javahelper --source-directory=src/jonelo/sugar/util/

override_jh_build:

	javac -encoding UTF-8 src/jonelo/sugar/util/*.java -d ${CURDIR}/

	jar cvf ${CURDIR}/src/jonelo/sugar/sugar.jar jonelo/sugar/util/

	jh_build