File: rules

package info (click to toggle)
spview 2.0.0~beta2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,652 kB
  • sloc: java: 8,449; xml: 29; makefile: 10; sh: 3
file content (17 lines) | stat: -rwxr-xr-x 377 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
# debian/rules for spview

%:
	dh $@ --with javahelper

override_jh_build:
	jh_build --javacopts="-source 1.8 -target 1.8" --no-javadoc spview.jar sources

override_dh_install:
	# hack to get all files into the jar (jh_build can only include *.class)
	(cd resources && jar uf ../spview.jar *)
	dh_install

override_dh_auto_clean:
	dh_auto_clean
	rm -f *.jar