File: rules

package info (click to toggle)
ehcache 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,568 kB
  • sloc: java: 76,713; xml: 16,452; perl: 33; makefile: 15; sh: 13
file content (22 lines) | stat: -rwxr-xr-x 711 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 ehcache (uses cdbs)

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

JAVA_HOME := /usr/lib/jvm/default-java/
DEB_ANT_BUILDFILE := debian/build.xml
DEB_ANT_BUILD_TARGET := jar
DEB_JARS := commons-logging servlet-api-2.5 backport-util-concurrent	\
		slf4j-api geronimo-jta-1.0.1b-spec btm \
		jsr107cache hibernate3 commons-collections3 jgroups-all

install/libehcache-java::
	mh_installpom -plibehcache-java pom.xml --no-parent
	mh_installjar -plibehcache-java -l pom.xml target/ehcache.jar /usr/share/java/ehcache.jar

clean::
	mh_clean

get-orig-source:
	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename