File: rules

package info (click to toggle)
android-platform-libcore 10.0.0%2Br36-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 85,484 kB
  • sloc: java: 846,430; ansic: 12,234; cpp: 10,616; xml: 1,581; python: 920; sh: 349; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (2)
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