debian swirl logo

Back to the packages list concurrent-dfsg

#!/usr/bin/make -f
# debian/rules file for concurrent-dfsg (uses cdbs)

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

export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)

JAVA_HOME := /usr/lib/jvm/default-java

DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
DEB_ANT_BUILD_TARGET := dist javadoc

clean::
		-rm -rf docs

install/libconcurrent-java::
		install -m 644 lib/concurrent.jar debian/libconcurrent-java/usr/share/java/concurrent-$(UPSTREAM_VERSION).jar
		ln -s concurrent-$(UPSTREAM_VERSION).jar debian/libconcurrent-java/usr/share/java/concurrent.jar

Builds:

libconcurrent-java-doc
documentation and javadoc api for libconcurrent-java
libconcurrent-java
utility classes for concurrent java programming