File: rules

package info (click to toggle)
jsch 0.1.28-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 856 kB
  • ctags: 1,765
  • sloc: java: 11,074; sh: 120; perl: 69; xml: 62; python: 54; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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/jvm/java-gcj

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