debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export JAVA_HOME=/usr/lib/jvm/default-java |
| 4 | export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 |
| 5 | |
| 6 | %: |
| 7 | dh $@ --with javahelper |
| 8 | |
| 9 | JAR=debian/libjnr-constants-java/usr/share/java/jnr-constants.jar |
| 10 | override_jh_manifest: |
| 11 | jh_manifest |
| 12 | |
| 13 | # generate OSGi metadata |
| 14 | bnd wrap --properties debian/jnr-constants.bnd --output $(JAR).tmp $(JAR) |
| 15 | mv $(JAR).tmp $(JAR) |