File: rules

package info (click to toggle)
libjcip-annotations-java 20060626-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 104 kB
  • sloc: xml: 69; java: 31; sh: 15; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
  
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

# Add here any variable or target overrides you need.

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= dist
DEB_ANT_BUILDFILE       := debian/build.xml

install/libjcip-annotations-java::
	install -m 644 -D dist/jcip.jar $(DEB_DESTDIR)/usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/jcip-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jcip.jar

get-orig-source:
	sh debian/orig-tar.sh