File: rules

package info (click to toggle)
asm-jdk-bridge 0.0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: java: 3,837; xml: 258; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_VERSOSE=1

# This can be removed once default-jdk points to Java 25
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
JAVA_HOME = /usr/lib/jvm/java-25-openjdk-$(DEB_HOST_ARCH)

PATH := $(JAVA_HOME)/bin:$(PATH)
export PATH
export JAVA_HOME

%:
	dh $@

override_dh_auto_test:
	# asm-jdk-bridge-test requires asm-jdk-bridge, which is built
	# during the binary package build, but fails after the clean
	# unless we opt to install it in the local maven repo.