File: rules

package info (click to toggle)
jenkins-htmlunit-core-js 2.6-hudson-1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 5,640 kB
  • ctags: 9,833
  • sloc: java: 72,311; xml: 903; makefile: 12; sh: 10
file content (20 lines) | stat: -rwxr-xr-x 693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

JAVA_HOME := /usr/lib/jvm/default-java
DEB_MAVEN_INSTALL_TO_USJ := false
PACKAGE := jenkins-htmlunit-core-js
JAR := htmlunit-core-js

# Install branch specific named version in /usr/share/java
# This works around the fact that maven-debian-helper does
# not pass --usj-name from debian/*.poms
binary-post-install/lib$(PACKAGE)-java::
	mh_installpoms -plib$(PACKAGE)-java
	mh_installjar -plib$(PACKAGE)-java --usj-name=$(PACKAGE) -l pom.xml \
        target/$(JAR)-$(DEB_UPSTREAM_VERSION).jar

get-orig-source:
	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename