File: rules

package info (click to toggle)
abcl 1.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,064 kB
  • sloc: lisp: 63,756; java: 63,092; xml: 4,300; sh: 409; makefile: 25; awk: 3
file content (19 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

%:
	dh $@ --with javahelper

execute_after_dh_auto_build:
	# Compile the manual
	make -C doc/manual

	# Recreate the wrapper, because the one generated by the upstream build
	# system hardcodes path on the build machines
	sed -e "s#@JAVA@#java#;s#@ABCL_CLASSPATH@#/usr/share/java/abcl.jar#;s#@ABCL_JAVA_OPTIONS@##" < abcl.in > abcl
	chmod +x abcl

execute_after_dh_auto_clean:
	rm -f abcl
	make -C doc/manual clean