File: rules

package info (click to toggle)
jsch 0.1.19-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 752 kB
  • ctags: 1,566
  • sloc: java: 9,667; sh: 120; perl: 69; xml: 62; python: 54; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME=/usr/lib/kaffe
ANT_HOME=/usr/share/ant1.6
DEB_ANT_ARGS += -Dbuild.compiler=jikes
DEB_JARS=$(ANT_HOME)/lib/ant-launcher.jar

UPSTREAM_VERSION=$(shell echo $(DEB_VERSION) | cut -d- -f1)

binary-post-install/libjsch-java::
	install -m 644 dist/lib/jsch-*.jar debian/libjsch-java/usr/share/java/jsch-$(UPSTREAM_VERSION).jar

binary-post-install/libjsch-java-doc::
	install -d debian/libjsch-java-doc/usr/share/doc/libjsch-java/examples
	install -m 644 examples/*.java debian/libjsch-java-doc/usr/share/doc/libjsch-java/examples