File: rules

package info (click to toggle)
libisrt-java 4.8.20100629-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,140 kB
  • ctags: 3,832
  • sloc: java: 17,849; sh: 12; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
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

# Put depended upon jars in here
# export CLASSPATH=

%:
	dh $@ --with javahelper

VERSION := $(shell dpkg-parsechangelog | awk -F'[ -]' '/^Version: /{print $$2}')

override_jh_build:
	jh_build --javacopts="-source 1.5 -target 1.5" --javadoc-opts="-source 1.5"
	
get-orig-source:
	uscan --download-version $(VERSION) --force-download