File: rules

package info (click to toggle)
jnr-ffi 1.0.10-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,076 kB
  • ctags: 5,631
  • sloc: java: 21,746; ansic: 429; xml: 214; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
export CCACHE_DIR=$(CURDIR)/ccache


%:
	dh $@ --buildsystem=maven --with javahelper

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

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