File: rules

package info (click to toggle)
htmlunit-core-js 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 5,804 kB
  • ctags: 10,088
  • sloc: java: 75,059; xml: 889; sh: 14; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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)