File: rules

package info (click to toggle)
libnative-platform-java 0.10%2Bdfsg-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 556 kB
  • sloc: java: 1,838; cpp: 1,031; sh: 122; makefile: 81
file content (22 lines) | stat: -rwxr-xr-x 593 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
#!/usr/bin/make -f

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

DEB_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
DEB_DIR=libnative-platform-java-$(DEB_VERSION)
VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*[+~]git([0-9a-z]+).*,\1,p')
INDEP_DIR := net/rubygrapefruit/native-platform

%:
	dh $@ --with maven_repo_helper

override_dh_auto_build:
	make -f debian/Makefile

override_dh_auto_clean:
	dh_auto_clean
	make -f debian/Makefile clean

get-orig-source:
	uscan --download-current-version --force-download --repack --compression xz