File: rules

package info (click to toggle)
libswarmcache-java 1.0RC2%2Bcvs20071027-7.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 312 kB
  • sloc: java: 1,062; xml: 429; sh: 14; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= jar
DEB_JARS		:= commons-logging commons-collections3 jgroups

install/libswarmcache-java::
	mh_installpom -plibswarmcache-java debian/pom.xml
	mh_installjar -plibswarmcache-java debian/pom.xml -l dist/swarmcache*jar

clean::
	mh_clean
	-rm -f dist/swarmcache-*.jar

get-orig-source:
	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)