File: rules

package info (click to toggle)
ckbuilder 2.3.2+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 528 kB
  • sloc: xml: 93; sh: 21; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 609 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with javahelper --sourcedirectory=dev/build

override_dh_auto_clean:
	## "ant clean" terminates on clean build directory:
	-dh_auto_clean

override_dh_auto_configure:
	mkdir -p lib/json/
	ln -s /usr/share/javascript/json/json2.js  lib/json/json2.js
	dh_auto_configure

override_dh_gencontrol:
	dh_gencontrol -- -Vmy:Built-Using="$(foreach pkg,libjs-json,$(word 2,$(shell dpkg --status $(pkg) | grep Source)) (=$(word 2,$(shell dpkg --status $(pkg) | grep Version))),)"