File: rules

package info (click to toggle)
buoy 1.6-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 796 kB
  • ctags: 1,534
  • sloc: java: 8,321; xml: 36; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 521 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
# debian/rules file for buoy (uses cdbs)

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

JAVA_HOME := /usr/lib/kaffe
ANT_HOME := /usr/share/ant

DEB_ANT_BUILDFILE    := buoy.xml
DEB_ANT_BUILD_TARGET := dist docs
DEB_JARS             = $(ANT_HOME)/lib/ant-launcher.jar

clean::
	rm -f buoy.jar

DESTDIR=debian/libbuoy-java
install/libbuoy-java:: buoy.jar
	install -m644 buoy.jar $(DESTDIR)/usr/share/java/buoy.jar