File: rules

package info (click to toggle)
android-platform-libcore 8.1.0+r23-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 87,240 kB
  • sloc: java: 813,400; ansic: 12,933; cpp: 9,756; xml: 1,648; python: 1,004; sh: 378; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

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

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

override_dh_auto_build:
	dh_auto_build -- --settings-file debian/settings.gradle \
	                 --project-prop androidVersion=$(ANDROID_VERSION) \
	                 assemble