File: rules

package info (click to toggle)
libcommons-collections3-java 3.1a-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,236 kB
  • ctags: 8,198
  • sloc: java: 51,126; xml: 1,412; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 875 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 libcommons-collections3-java (uses cdbs)

UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -\d' ' | cut -f1 -d- )
TOOLS_SRCDIR     := tools

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

DEB_JARS := $(ANT_HOME)/lib/ant-junit.jar junit
DEB_ANT_BUILD_TARGET := jar tf.jar javadoc

install/libcommons-collections3-java::
	install -m 644 $(DEB_SRCDIR)/build/commons-collections-3.1.jar debian/libcommons-collections3-java/usr/share/java/commons-collections3-3.1.jar
	install -m 644 $(DEB_SRCDIR)/build/commons-collections-testframework-3.1.jar debian/libcommons-collections3-java/usr/share/java/commons-collections3-testframework-3.1.jar

clean::
	rm -f debian/files
	rm -f TEST-*