File: rules

package info (click to toggle)
kunststoff 2.0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 248 kB
  • ctags: 322
  • sloc: java: 1,438; xml: 22; makefile: 11; sh: 10
file content (16 lines) | stat: -rwxr-xr-x 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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_INSTALL_TARGET	:= jar
DEB_ANT_BUILDFILE	:= debian/build.xml

install/kunststoff::
	install -m 644 -D kunststoff.jar $(DEB_DESTDIR)/usr/share/java/kunststoff-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/kunststoff-$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/kunststoff.jar

get-orig-source:
	-uscan --upstream-version 0