File: rules

package info (click to toggle)
android-platform-external-doclava 9.0.0%2Br42-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,884 kB
  • sloc: java: 47,059; xml: 11,020; cs: 4,540; sh: 131; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/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 -- --project-prop androidVersion=$(ANDROID_VERSION) assemble