File: rules

package info (click to toggle)
jverein 2.8.19%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,780 kB
  • sloc: java: 81,533; xml: 1,853; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 552 bytes parent folder | download | duplicates (3)
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
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v

export CLASSPATH := /usr/share/java/bsh.jar
export JAVA_HOME := /usr/lib/jvm/default-java
export JAVA_TOOL_OPTIONS := -Dfile.encoding=UTF8
JAR_NAME := bsh.jar

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

# override_dh_auto_build
override_dh_auto_build:
	cd ../
	mkdir hibiscus/
	mkdir jameica/
	ln -s /usr/share/jameica/plugins/hibiscus/lib hibiscus/lib
	ln -s /usr/share/jameica jameica/lib
	cd ${CURDIR}
	dh_auto_build