File: rules

package info (click to toggle)
libpixie-java 1%3A0.8.8-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 952 kB
  • ctags: 2,547
  • sloc: java: 10,608; xml: 423; makefile: 15; sh: 13
file content (22 lines) | stat: -rwxr-xr-x 718 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# debian/rules file for libpixie-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

JAVA_HOME := /usr/lib/jvm/default-java
ANT_HOME := /usr/share/ant

DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar jcommon
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_BUILD_TARGET := compile javadoc

clean::
	-rm -rf build
	-rm -rf javadoc
	-rm -f pixie-$(DEB_UPSTREAM_VERSION).jar lib/*

install/libpixie-java::
	install -m 644 pixie-$(DEB_UPSTREAM_VERSION).jar debian/libpixie-java/usr/share/java/pixie-$(DEB_UPSTREAM_VERSION).jar
	ln -s pixie-$(DEB_UPSTREAM_VERSION).jar debian/libpixie-java/usr/share/java/pixie.jar