debian swirl logo

Back to the packages list libloader

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

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

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

DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar jcommon libpixie libbase commons-logging ehcache-core batik batik-svg-dom xml-apis-ext junit ant-contrib ant-junit
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_BUILD_TARGET := compile jar javadoc
DEB_ANT_CHECK_TARGET := test

DEB_UPSTREAM_VERSION := 1.1-SNAPSHOT
clean::
		-rm -rf build
		-rm -rf javadoc
		-rm -f libloader*-$(DEB_UPSTREAM_VERSION).jar
	# don't use them, go sure
		-rm -f lib/* lib/optional/* test-lib/*

install/libloader-java::
		install -m 644 ./dist/libloader-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader-$(DEB_UPSTREAM_VERSION).jar
		ln -s libloader-$(DEB_UPSTREAM_VERSION).jar debian/libloader-java/usr/share/java/libloader.jar
	jh_classpath -plibloader-java --classpath= "/usr/share/java/commons-logging.jar /usr/share/java/libbase.jar /usr/share/java/jcommon.jar" debian/libloader-java/usr/share/java/libloader-$(DEB_UPSTREAM_VERSION).jar
		jh_depends

install/libloader-java-doc::
		jh_installjavadoc

Builds:

libloader-java-doc
java general purpose resource loading framework -- documentation
libloader-java
java general purpose resource loading framework