File: rules

package info (click to toggle)
libjcip-annotations-java 20060626-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 116 kB
  • ctags: 12
  • sloc: xml: 79; java: 31; sh: 15; makefile: 15
file content (24 lines) | stat: -rwxr-xr-x 707 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
23
24
#!/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

binary-post-install/$(DEB_SOURCE_PACKAGE)::
	mh_installpoms -p$(DEB_SOURCE_PACKAGE)
	mh_installjar -p$(DEB_SOURCE_PACKAGE) -l debian/pom.xml dist/jcip.jar

clean::
	mh_clean