File: rules

package info (click to toggle)
jnr-constants 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,860 kB
  • sloc: java: 18,188; ruby: 1,633; xml: 138; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

%:
	dh $@ --with javahelper

JAR=debian/libjnr-constants-java/usr/share/java/jnr-constants.jar
override_jh_manifest:
	jh_manifest

	# generate OSGi metadata
	bnd wrap --properties debian/jnr-constants.bnd --output $(JAR).tmp $(JAR)
	mv $(JAR).tmp $(JAR)