Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 JAVA_HOME := /usr/lib/jvm/default-java
5
6 # Include the .resource files in the jar:
7 export JH_JAR_EXTRA=$(shell find com -type f -not -name "*.java")
8
9 get-orig-source:
10 curl -o ColorPicker-src.zip https://javagraphics.dev.java.net/jars/ColorPicker-src.jar
11 jh_repack --upstream-version 1.0.0 ColorPicker-src.zip
12 mv ColorPicker-src.tar.gz ../colorpicker_1.0.0.orig.tar.gz
13
14 %:
15 dh $@ --with javahelper
16
17 override_jh_build::
18 jh_build --javacopts="-source 1.8 -target 1.8" --javadoc-opts="-source 1.8"