debian swirl logo

Back to the packages list libgroboutils-java

#!/usr/bin/make -f

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

JAVA_HOME := /usr/lib/jvm/default-java
ANT_HOME := /usr/share/ant

DEB_JARS := groboutils-testingautodoc-core groboutils-codecoverage-runtime \
            groboutils-codecoverage-core groboutils-codecoverage-ant groboutils-classes-core \
            junit log4j-1.2 easymock bcel \
            ant-apache-bcel ant-junit ant-nodeps ant-trax

DEB_ANT_BUILD_TARGET := main
DEB_ANT_CHECK_TARGET := test-all
DEB_ANT_CLEAN_TARGET := clean

ALL_JARS = $(wildcard */*.jar)

binary-post-install/libgroboutils-java::
		for jar in $(ALL_JARS); do \
		BASE_NAME= `basename $$jar`; \
		CLEAN_NAME= `basename $$jar .jar | cut -d '-' -f '1,2,4'`; \
			dh_link usr/share/java/$$BASE_NAME usr/share/java/$$CLEAN_NAME.jar; \
		done

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

Builds:

libgroboutils-java
java-based testing tools and junit extensions