File: rules

package info (click to toggle)
libjbzip2-java 0.9.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 348 kB
  • sloc: java: 4,269; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download | duplicates (2)
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

%:
	dh $@  --with javahelper

override_dh_auto_build:
	mkdir -p build/org/itadaki/bzip2
	javac -d build src/org/itadaki/bzip2/*.java
	cd build && jar cvf ../jbzip2.jar *

override_dh_clean:
	dh_clean
	rm -f jbzip2.jar
	rm -rf build