File: rules

package info (click to toggle)
jnr-posix 3.0.45-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,104 kB
  • sloc: java: 11,238; xml: 202; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

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

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

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

override_jh_installjavadoc:
	jh_installjavadoc
	-find debian/libjnr-posix-java-doc/usr/share/doc/libjnr-posix-java -type f -name '*jquery*' -delete