debian swirl logo

Back to the packages list libjcip-annotations-java

#!/usr/bin/make -f
  
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

# Add here any variable or target overrides you need.

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= dist
DEB_ANT_BUILDFILE       := debian/build.xml

install/libjcip-annotations-java::
		install -m 644 -D dist/jcip.jar $(DEB_DESTDIR)/usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar
		dh_link /usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jcip.jar

get-orig-source:
		sh debian/orig-tar.sh

binary-post-install/$(DEB_SOURCE_PACKAGE)::
		mh_installpoms -p$(DEB_SOURCE_PACKAGE)
		mh_installjar -p$(DEB_SOURCE_PACKAGE) -l debian/pom.xml dist/jcip.jar

clean::
		mh_clean

Builds:

libjcip-annotations-java-doc
java concurrency in practice annotations library documentation
libjcip-annotations-java
java concurrency in practice annotations library