debian swirl logo

Back to the packages list libcommons-digester-java

#!/usr/bin/make -f
# debian/rules file for libcommons-digester-java (uses cdbs)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

PACKAGE              := $(DEB_SOURCE_PACKAGE)
VERSION              := $(DEB_UPSTREAM_VERSION)
JAVA_HOME            := /usr/lib/jvm/default-java
DEB_ANT_ARGS         := -Djavax.xml.transform.TransformerFactory=gnu.xml.libxmlj.transform.TransformerFactoryImpl -Dtest.failonerror=false
# Additional JARs to add to the class path, either full path or just the
# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
DEB_JARS             := commons-collections3 commons-logging commons-beanutils junit ant-junit

DEB_ANT_BUILD_TARGET := dist

DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt

binary-post-install/$(PACKAGE)::
		mh_installpoms -p$(PACKAGE)
		mh_installjar -p$(PACKAGE) -l pom.xml dist/commons-digester.jar

clean::
		mh_clean
		-rm -rf debian/tmp

get-orig-source:
		-uscan --upstream-version 0 --rename

Builds:

libcommons-digester-java-doc
rule based xml java object mapping tool (documentation)
libcommons-digester-java
rule based xml java object mapping tool