File: rules

package info (click to toggle)
android-platform-external-doclava 6.0.1+r55-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,472 kB
  • sloc: java: 44,517; xml: 10,021; javascript: 4,860; cs: 1,760; makefile: 9; sh: 3
file content (15 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download | duplicates (2)
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 -- --project-prop androidVersion=$(ANDROID_VERSION) assemble

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