File: rules

package info (click to toggle)
postgis-java 1:2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 748 kB
  • sloc: java: 4,890; xml: 738; makefile: 16; sh: 12
file content (25 lines) | stat: -rwxr-xr-x 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

export JAVA_HOME := /usr/lib/jvm/default-java

include /usr/share/dpkg/pkg-info.mk

UPSTREAM_VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')

%:
	dh $@ --parallel \
	      --buildsystem maven

override_dh_auto_clean:
	dh_auto_clean
	mh_clean

override_dh_auto_build:
	dh_auto_build --sourcedirectory jdbc

override_dh_auto_test:
	dh_auto_test --sourcedirectory jdbc

override_dh_auto_install:
	mh_installjar -plibpostgis-java -l jdbc/pom.xml jdbc/target/postgis-jdbc-$(UPSTREAM_VERSION).jar
	mh_installpoms -plibpostgis-java