File: rules

package info (click to toggle)
hessian 4.0.38-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,420 kB
  • sloc: java: 21,407; xml: 108; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/servlet-api.jar

%:
	dh $@ --with javahelper

override_jh_build:
	jh_build --javacopts=-g hessian.jar com

override_dh_auto_install:
	mh_install -plibhessian-java

override_dh_auto_clean:
	mh_clean

get-orig-pom:
	wget http://central.maven.org/maven2/com/caucho/hessian/$(DEB_VERSION_UPSTREAM)/hessian-$(DEB_VERSION_UPSTREAM).pom -O debian/pom.xml