#!/usr/bin/make -f export DH_VERBOSE=1 #DEB_DH_INSTALL_SOURCEDIR = debian/tmp include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/dpatch.mk # Add here any variable or target overrides you need. # Depends of the sun-java5-jdk! JAVA_HOME_DIRS := /usr/lib/jvm/java-1.5.0-sun ANT_HOME := /usr/share/ant DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar ant-optional log4j-1.2 xercesImpl xml-apis antlrall jdepend junit i18n toolbar jmi swidgets # Don't use this! Conflict with build.properties of the ourgrid source #DEB_ANT_COMPILER := ant #DEB_BUILDDIR := . #DEB_BUILDDIR := debian/tmp DEB_ANT_BUILD_TARGET := build #prepare-docs VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -f 1 -d '-') # workaround for a dpatch bug calling "debian/rules unpatch" # instead of "dpatch deapply-all" unpatch: dpatch deapply-all