debian swirl logo

Back to the packages list htmlunit-core-js

#!/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_ANT_BUILD_TARGET := jar-all

install/libhtmlunit-core-js-java::
	# Install pom and jar
		mh_installpom -v -plibhtmlunit-core-js-java pom.xml
		mh_installjar -plibhtmlunit-core-js-java -l pom.xml \
			-nhtmlunit-core-js -i${DEB_UPSTREAM_VERSION} target/htmlunit-core-js-$(DEB_UPSTREAM_VERSION).jar

.PHONY: get-orig-source
get-orig-source:
		debian/get-orig-source.sh --upstream-version $(DEB_UPSTREAM_VERSION)

Builds:

libhtmlunit-core-js-java
gui-less browser for java programs - javascript engine