2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
# Uncomment this to turn on verbose mode.
8
# This is the debhelper compatability version to use.
13
# Directories to look for JAVA_HOME (JDK 1.2+ rquired!)
14
jdk_dirs:=/usr/lib/j2se/1.3 /usr/lib/j2sdk1.3
15
export JAVA_HOME=$(shell for jdir in $(jdk_dirs); do if [ -d "$$jdir" ]; then echo $$jdir; exit 0; fi; done)
17
export ANT=/usr/bin/ant
18
export CLASSPATH=/usr/share/java/junit.jar:.
27
# Add here commands to compile the package.
36
# Add here commands to clean up after the build process.
46
# Add here commands to install the package into debian/junitperf.
47
install -m 644 lib/${LIBRARY}.jar $(CURDIR)/debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
52
# Build architecture-independent files here.
53
binary-indep: build install
54
# We have nothing to do by default.
56
# Build architecture-dependent files here.
57
binary-arch: build install
86
binary: binary-indep binary-arch
87
.PHONY: build clean binary-indep binary-arch binary install