File: rules

package info (click to toggle)
cortado 0.2.2-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,232 kB
  • ctags: 2,515
  • sloc: java: 17,356; xml: 532; sh: 58; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 639 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/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

JAVA_HOME = /usr/lib/kaffe

DEB_ANT_INSTALL_TARGET = install_applet
DEB_ANT_CLEAN_TARGET = distclean
DEB_ANT_ARGS += -Dprefix=/usr -Dbuild.type=stripped -Ddestdir=$(DEB_DESTDIR)

SHAREDIR := /usr/share/cortado
install/cortado::
	for type in ov ovt mmjs; do \
	  dh_link $(SHAREDIR)/cortado-$${type}-stripped-$(DEB_UPSTREAM_VERSION).jar \
	    $(SHAREDIR)/cortado-$${type}.jar; \
	done
	dh_link $(SHAREDIR)/cortado-ovt-stripped-$(DEB_UPSTREAM_VERSION).jar \
	  $(SHAREDIR)/cortado.jar