File: rules

package info (click to toggle)
beansbinding 1.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,388 kB
  • sloc: java: 12,683; xml: 502; sh: 44; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
VERSION := $(shell dpkg-parsechangelog | grep ^Version: | sed -r 's/^.*:\ ([0-9\.]+)(-|\+).*/\1/')

%:
	dh $@ --with javahelper --with jh_maven_repo_helper

override_dh_auto_build:
	ant -f build.xml dist

override_jh_installlibs:
	jh_installlibs --upstream-version=$(VERSION)