File: rules

package info (click to toggle)
jnr-constants 0.8.6-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 984 kB
  • ctags: 5,699
  • sloc: java: 7,206; ruby: 1,032; xml: 47; 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)