File: rules

package info (click to toggle)
zipflinger 7.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,076 kB
  • sloc: java: 4,491; xml: 69; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
include /usr/share/javahelper/java-vars.mk

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/com.android.tools.common.jar:/usr/share/java/com.android.tools.annotations.jar
export PACKAGE=zipflinger

%:
	dh $@ --with javahelper

override_jh_build:
	jh_build --javacopts='--release 8' --javadoc-opts='-source 8' $(PACKAGE).jar src

override_jh_installlibs:
	mh_installpom -plibandroid-$(PACKAGE)-java --no-parent debian/pom.xml
	mh_installjar --java-lib -plibandroid-$(PACKAGE)-java debian/pom.xml $(PACKAGE).jar