File: rules

package info (click to toggle)
android-platform-external-jsilver 6.0.1%2Br55-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,384 kB
  • sloc: java: 30,164; xml: 51; makefile: 9; cs: 7
file content (15 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

ANDROID_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed --expression="s/\+r.*//")
UPSTREAM_TAG = android-$(subst +,_,$(DEB_VERSION_UPSTREAM))

%:
	dh $@ --buildsystem=gradle --with maven_repo_helper

override_dh_auto_build:
	dh_auto_build -- assemble --project-prop androidVersion=$(ANDROID_VERSION)

get-orig-source:
	uscan --download-current-version --force-download --rename