File: rules

package info (click to toggle)
mathpiper 0.81f+svn4469+dfsg3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 36,552 kB
  • ctags: 8,348
  • sloc: java: 57,479; lisp: 13,721; objc: 1,300; xml: 988; makefile: 114; awk: 95; sh: 38
file content (26 lines) | stat: -rwxr-xr-x 770 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
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

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

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/jdom1.jar:/usr/share/java/jas.jar:/usr/share/java/jfreechart.jar:/usr/share/java/jlatexmath.jar

%:
	dh $@ --with javahelper

# Avoid the default build.xml and its ant dependency
override_dh_auto_build:
	true

override_dh_auto_clean:
	rm -f reduceimg.log default.img

override_jh_build:
	jh_build -N

	# Compile the Lisp scripts and put them into the JAR
	CLASSPATH=$$CLASSPATH:./mathpiper.jar java -Xmx300M -Xms300M -Xss8M org.mathpiper.mpreduce.Jlisp -w -v -z -o default.img lib/build_scripts/buildreduce.lsp -D@srcdir=lib/build_scripts -- reduceimg.log
	jar uf mathpiper.jar default.img