debian swirl logo

Back to the packages list axis

#!/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
DEB_JARS := $(ANT_HOME)/lib/ant-nodeps.jar wsdl4j commons-logging commons-discovery commons-httpclient gnumail servlet-api-3.0 xmlParserAPIs xercesImpl

DEB_ANT_BUILD_TARGET := compile javadocs

DEB_INSTALL_CHANGELOGS_ALL := changelog.html

common-post-build-indep::
		for BNDFILE in debian/*.bnd; do \
		JARPATH= build/lib/`basename $$BNDFILE .bnd`.jar; \
			bnd wrap -properties $$BNDFILE -output $$JARPATH $$JARPATH; \
		done

install/libaxis-java::
		mh_installpoms -plibaxis-java -e$(DEB_UPSTREAM_VERSION)
		mh_installjar -plibaxis-java -l debian/poms/axis.xml build/lib/axis.jar
		mh_installjar -plibaxis-java -l debian/poms/saaj.xml build/lib/saaj.jar
		mh_installjar -plibaxis-java -l debian/poms/jaxrpc.xml build/lib/jaxrpc.jar
		mh_installjar -plibaxis-java -l debian/poms/ant.xml build/lib/axis-ant.jar

install/libaxis-java-doc::
		mv build/javadocs build/api
		dh_install -plibaxis-java-doc build/api/ /usr/share/doc/libaxis-java/

clean::
		-rm -rf debian/tmp
		-rm -rf build/api
		mh_clean

get-orig-source::
		uscan --force-download --rename

Builds:

libaxis-java-doc
soap implementation in java (documentation)
libaxis-java
soap implementation in java