File: rules

package info (click to toggle)
libxpp2-java 2.1.10-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 1,640 kB
  • ctags: 1,679
  • sloc: java: 10,309; xml: 601; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# debian/rules file for libxpp2-java (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

export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)

JAVA_HOME := /usr/lib/kaffe
ANT_HOME := /usr/share/ant
DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar junit
DEB_ANT_BUILD_TARGET := compile junit api

install/libxpp2-java::
	install -m 644 build/lib/PullParser-$(UPSTREAM_VERSION).jar debian/libxpp2-java/usr/share/java/xpp2-$(UPSTREAM_VERSION).jar
	ln -s xpp2-$(UPSTREAM_VERSION).jar debian/libxpp2-java/usr/share/java/xpp2.jar