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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export JAVA_HOME=/usr/lib/jvm/default-java
# Put depended upon jars in here
# export CLASSPATH=
build: build-arch-stamp build-indep-stamp
build-arch: build-arch-stamp
build-arch-stamp:
dh_testdir
touch $@
build-indep: build-indep-stamp
build-indep-stamp:
dh_testdir
jh_build
touch $@
clean:
dh_testdir
dh_testroot
jh_clean
dh_clean build-stamp build-indep-stamp build-arch-stamp
install-indep: build-indep
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
binary-arch: build-arch
binary-indep: build-indep install-indep
# Create the package here
dh_testdir
dh_testroot
dh_clean -k
dh_install -i
dh_installdocs -i
dh_installchangelogs -i
jh_installjavadoc -i
jh_installlibs -i pixels.jar
jh_depends -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary: binary-indep binary-arch
.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install-indep
|