File: rules

package info (click to toggle)
freecol 0.11.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 55,868 kB
  • ctags: 17,891
  • sloc: java: 133,638; xml: 7,030; sh: 453; awk: 21; makefile: 17
file content (23 lines) | stat: -rwxr-xr-x 651 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
#export DH_VERBOSE=1
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-$(DEB_HOST_ARCH)
export CLASSPATH=/usr/share/java/cortado.jar:/usr/share/java/miglayout.jar:/usr/share/java/commons-cli.jar
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

%:
	dh $@ --parallel --with javahelper --buildsystem=ant

override_dh_auto_build:
	dh_auto_build -- \
		-Dbuild.sysclasspath=only \
		package \
		online-manual \
		print-manual

override_dh_clean:
	dh_clean
	$(RM) src/MANIFEST.MF

get-orig-source:
	uscan --verbose --download-current-version --force-download --repack --compression xz